what is the difference between instance.myVariable.call(); and instance.myVariable(); which approach should I use in my frontend code? I do not want to invoke tx, just to get the value of the field uint256 myVariable = 5;

Apr 14, 2018, 3:47 PM
in web3.js i mean
Apr 14, 2018, 3:48 PM
What Pablo said. I mostly use .call() for writing truffle tests.
Apr 14, 2018, 4:49 PM

© 2024 Draquery.com All rights reserved.