Skip to main content
GET
eth_getBlockByNumber

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_getBlockByNumber
required

Set to eth_getBlockByNumber for this endpoint.

tag
string

Block number in hex format eg 0x10d4f or "latest".

boolean
string
required

Set to true to return full transaction objects or false for transaction hashes only.