Skip to main content
GET
eth_call

Authorizations

apikey
string
query
required

Enter your Etherscan API key, or set one up if you don't have one.

Query Parameters

chainid
string
required

Chain ID to query, eg 1 for Ethereum, 42161 for Arbitrum from our supported chains.

module
string
default:proxy
required

Set to proxy for this endpoint.

action
string
default:eth_call
required

Set to eth_call for this endpoint.

to
string
required

The address to interact with.

data
string

Hash of the method signature and encoded parameters.

tag
string

Use latest, earliest, pending, or a block number in hex.

Response

200 - application/json

Successful response

jsonrpc
string

JSON-RPC protocol version.

id
integer

Request identifier, echoed back from the request.

result
string

Return value of the executed call, as a hex string.