Defined in the Ethereum JSON-RPC SpecificationDocumentation Index
Fetch the complete documentation index at: https://base-a060aa97-meyer9-discv5-p2p-protocol-id.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Returns the number of transactions sent from an address.
Parameters
The address to get the transaction count for (20 bytes).
Integer block number, or the string “latest”, “earliest” or “pending”.
Returns
A hexadecimal string representing the integer of the number of transactions sent from this address.
Error Handling
| Code | Message | Description |
|---|---|---|
| -32602 | Invalid address or block parameter | The provided address or block parameter is invalid |
| 4100 | Requested method not supported | The method is not supported by the wallet |
This value is used as the nonce for subsequent transactions from the address.