Skip to main content
GET
/
v2
/
api
eth_getTransactionCount
curl --request GET \
  --url https://api.etherscan.io/v2/api
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x73"
}

Documentation Index

Fetch the complete documentation index at: https://docs.etherscan.io/llms.txt

Use this file to discover all available pages before exploring further.

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_getTransactionCount"
Set to eth_getTransactionCount for this endpoint.
address
string
default:"0x4bd5900Cb274ef15b153066D736bf3e83A9ba44e"
The address to query.
tag
string
default:"latest"
Use latest, earliest, pending, or a block number in hex.
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x73"
}