New answers tagged

1

estimateGas estimates the cost of the whole transaction, not just one line of code. For better understanding how gas cost work, I suggest you study the generated EVM bytecode and then you can even map each VM instruction to its cost by hand.


Top 50 recent answers are included