state
eth_getTransactionCount
Get nonce
Returns the number of transactions sent from an address — the next nonce to use.POST
https://eth.rpc.pinax.network/v1/<API_KEY>/
Required parameters
| Name | Type | Description |
|---|---|---|
addressrequired | address | Account address. e.g. 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 |
blockrequired | block | Block number (hex) or tag. e.g. latest |
Request body
{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_getTransactionCount",
"params": [
"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"latest"
]
}Response
200 OKHex-encoded transaction count.
{ "jsonrpc": "2.0", "id": 1, "result": "0x4f2" }