eth_estimateGas
Generates and returns an estimate of how much gas is necessary to allow the transaction to complete.
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. Defaults to 'latest'
if not provided.
Response
The estimated amount of gas required for the transaction, as a hexadecimal string.