Skip to main content
Defined in the Ethereum JSON-RPC Specification
Returns the number of transactions sent from an address.

Parameters

string
required
The address to get the transaction count for (20 bytes).
string
required
Integer block number, or the string “latest”, “earliest” or “pending”.

Returns

string
A hexadecimal string representing the integer of the number of transactions sent from this address.

Error Handling

This value is used as the nonce for subsequent transactions from the address.