All Questions
1 question
6
votes
1
answer
1k
views
Gas estimation for mapping updating with web3js
The gas estimation for contract deploying with web3js will look like:
var res = web3.eth.estimateGas({
from: web3.eth.defaultAccount,
data: contractByteCode
});
For example, I have the ...