Skip to main content
GET
eth_estimateGas

Authorizations

apikey
string
query
required

Your Etherscan API key.

Query Parameters

chainid
string
required

Chain ID to query, eg 1 for Ethereum, 8453 for Base from our supported chains.

module
string
default:proxy
required

Set to proxy for this endpoint.

action
string
default:eth_estimateGas
required

Set to eth_estimateGas for this endpoint.

data
string

Hash of the method signature and encoded parameters.

to
string

The address to interact with.

value
string

Value sent in this transaction, in hex.

gasPrice
string

Gas price in wei.

gas
string

Gas limit provided for the transaction, in hex.