Closed pubkey closed 7 years ago
When is run a call-function to get some data from the blockchain without making a transaction, is says
Error: sender doesn't have enough funds to send tx. The upfront cost is: 3141592 and the senders account only has: 0
state.contractInstance['foobar'].call(function(err, res){ err && console.dir(err); console.dir(res); });
EDIT: The call works of course, if I give enough eth to the coinbase. But shouldn't be the call-function completely offchain?
When is run a call-function to get some data from the blockchain without making a transaction, is says
EDIT: The call works of course, if I give enough eth to the coinbase. But shouldn't be the call-function completely offchain?