Skip to main content
GET
/
v2
/
api
curl "https://api.etherscan.io/v2/api?chainid=1&module=proxy&action=eth_getBlockTransactionCountByNumber&tag=0x10FB78&apikey=YourApiKeyToken"
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x3"
}

Query Parameters

apikey
string
default:"YourApiKeyToken"
Your Etherscan API key.
chainid
string
default:"1"
Chain ID to query, eg 1 for Ethereum, 8453 for Base from our supported chains.
module
string
default:"proxy"
Set to proxy for this endpoint.
action
string
default:"eth_getBlockTransactionCountByNumber"
Set to eth_getBlockTransactionCountByNumber for this endpoint.
tag
string
default:"0x10FB78"
Block number in hex format.
curl "https://api.etherscan.io/v2/api?chainid=1&module=proxy&action=eth_getBlockTransactionCountByNumber&tag=0x10FB78&apikey=YourApiKeyToken"
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x3"
}
I