v1
latestOpenAPI 3.0.02026-07-26541677.9 KBEthereum API
eth_estimateGas
Estimates the amount of gas needed to execute a call
post/eth_estimateGas
Request body
Response
Returns the estimated gas amount
Example response
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x5cec"
}