eth_getTransactionCount

post
/

Returns the number of transactions sent from a given address (account nonce).

If the block tag is set to 'pending', then the RPC will intercept the call and return the highest nonce it has received.

Note: the block tags 'safe' and 'finalized' are only availible on Ethereum mainnet.

Query parameters
api_keystringRequiredExample: docs-demo
Body
addressstringRequired

The address of the account to get the transaction count for

Pattern: ^0x[a-fA-F0-9]{40}$
blockone ofRequired

A block number as a hexadecimal string, or a block tag.

or
or
Responses
chevron-right
200Success
application/json
ResponsestringPattern: ^0x[a-fA-F0-9]{64}$
post
/
200Success

Last updated