Skip to main content

Generates and returns an estimate of how much gas is necessary to allow the transaction to complete.

POST 

/:network/eth_estimateGas

Note that the estimate may be significantly more than the amount of gas actually used by the transaction, for a variety of reasons including EVM mechanics and node performance.

Request

Path Parameters

    network stringrequired

    Default value: eth-mainnet

    The blockchain network to connect to.

    Example: eth-mainnet

Query Parameters

    projectId stringrequired

    Default value: 8ry9f6t9dct1se2hlagxnd9n2a

    The id of your project. Can be found in your Histori dashboard.

    Example: 8ry9f6t9dct1se2hlagxnd9n2a

Body

    id integer
    jsonrpc string
    method string
    params undefined[]nullable

Responses

OK

Schema

    id integer
    jsonrpc string
    result string
Loading...