Skip to main content
6 events
when toggle format what by license comment
Jul 23, 2021 at 15:33 comment added Federico Gentile Thanks for the hints but it did not work so far... I will keep investigating or create a new question with more details :) Anyways thanks a lot for the help!!!
Jul 23, 2021 at 14:37 comment added Vadim Chilinciuc truffle(develop)> let balance = await instance.getBalance(accounts[0]) truffle(develop)> balance.toNumber()
Jul 23, 2021 at 14:28 comment added Vadim Chilinciuc I dont sure about but: try .toNumber() or toBn() or toString() on YOUR RETURN RESULT :) Try one of them or search on internet one of them :) > const n = new web3.BigNumber('1234567890'); > n.toString() '1234567890' > n.toString(16) '499602d2'
Jul 23, 2021 at 14:24 vote accept Federico Gentile
Jul 23, 2021 at 14:22 comment added Federico Gentile Thank you very much for the answer!! Just one thing if I may ask: when I now type: contract.myArray2; I now get the following output: [Function (anonymous)] { call: [Function (anonymous)], sendTransaction: [Function (anonymous)], estimateGas: [Function (anonymous)], request: [Function (anonymous)] } How can I see the values inside of the variable?
Jul 23, 2021 at 14:03 history answered Vadim Chilinciuc CC BY-SA 4.0