EVM RPC API
eth_estimateGas
Returns an estimate of how much gas is necessary to allow the transaction to complete. The transaction will not be added to the blockchain.
Parameters
Object
- An object of type Call, seeeth_call
parameters, expect that all properties are optional
Returns
QUANTITY
- The estimated amount of gas needed for the call
POST
https://{network}.s.chainbase.online/v1
/
{api-key}
Path Parameters
api-key
string
requiredBody
application/json
id
integer
default: 1requiredjsonrpc
string
default: 2.0requiredmethod
string
default: eth_estimateGasrequiredparams
any[]
requiredResponse
200 - application/json
id
integer
requiredjsonrpc
string
requiredresult
string
required