eth_getTransactionCount
Returns the number of transactions sent from an address.
Parameters
string
- The address to get the transaction count forstring
- Integer block number, or the string "latest", "earliest" or "pending"
Example
["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "latest"]
Returns
string
A hexadecimal string representing the number of transactions sent from this address.
Example
"0x1" // 1
Errors
Code | Message |
---|---|
-32602 | Invalid address or block parameter |