Eth_getTransactionCount

Get transaction count (nonce) for address

post

Sends a JSON-RPC request to retrieve the number of transactions (nonce) sent from a given Ethereum address at a specified block. Returns the nonce encoded in hexadecimal format.

Authorizations
api-keystringRequired
Body
jsonrpcstringRequiredExample: 2.0
methodstringRequiredExample: eth_getTransactionCount
paramsstring · hex[] · min: 2 · max: 2Required
  • address: The address to check for transaction count.
  • block: The block parameter (e.g., "latest", "earliest", "pending").
Example: ["0x742d35cc6634c0532925a3b844bc454e4438f44e","latest"]
idintegerRequiredExample: 1
Responses
chevron-right
200

Hex encoded nonce (transaction count)

application/json
jsonrpcstringOptionalExample: 2.0
idintegerOptionalExample: 1
resultstring · hexOptional

Number of transactions sent from the address, encoded as hexadecimal (nonce).

post
/
200

Hex encoded nonce (transaction count)

Last updated