eth_estimateGas
Currently only works on the latest block.
Path parameters
apiKey
Request
This endpoint expects an object.
Transaction
The transaction object for which to estimate gas usage.
Block
The block number or tag at which to estimate gas usage. Please note only the 'latest'
block option is supported.
Response
The estimated amount of gas required for the transaction, as a hexadecimal string.