eth_estimateGas
Estimate gas needed for execution of given contract
Parameters
A transaction object.
(optional) Optional callback, returns an error object as first parameter and the result as second.
Returns
the used gas for the simulated call/transaction.
Example
Last updated