Dynamic Array Solidity

[Solved] Dynamic Array Solidity | Solidity - Code Explorer | yomemimo.com
Question : dynamic array solidity

Answered by : abdulhakim

var myContract;
var rowToGet = 0; // 1,2,3
var instance = MyContract.Deployed() .then(function(instance) { myContract = instance; return myContract.myBytesArray(rowToGet); }) .then(function(response) { console.log(response); // one element of the array });
}

Source : | Last Update : Wed, 30 Mar 22

Answers related to dynamic array solidity

Code Explorer Popular Question For Solidity