• Marius van der Wijden's avatar
    internal/ethapi: add optional parameter blockNrOrHash to estimateGas (#21545) · 0921f8a7
    Marius van der Wijden authored
    This allows users to estimate gas on top of arbitrary blocks as well as pending and latest.
    Tracing on pending is useful for most users as it takes into account the current txpool while
    tracing on latest might be useful for users that have little to know knowledge of the current
    transactions in the network.
    
    If blockNrOrHash is not specified, estimateGas defaults to pending
    0921f8a7
Name
Last commit
Last update
..
build Loading commit data...
cmdtest Loading commit data...
debug Loading commit data...
ethapi Loading commit data...
flags Loading commit data...
guide Loading commit data...
jsre Loading commit data...
testlog Loading commit data...
utesting Loading commit data...
web3ext Loading commit data...