๐ Get transaction count (nonce) for address
Code samples
GET /api/v1/eth/account/{address}/nonce
Returns the transaction count (nonce) for an address using eth_getTransactionCount.
๐ ๏ธ Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| address | path | string | true | Ethereum address (0x-prefixed). |
| block | query | string | false | Block number as hex QUANTITY, or tag (latest, earliest, pending). |
Example responses
200 Response
{
"address": "string",
"block": "string",
"transactionCount": "0x10"
}
๐ Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Nonce information | Inline |
| 500 | Internal Server Error | Could not connect to ETH node | None |
๐ Response Schema
Status Code 200
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| ยป address | string | false | none | none |
| ยป block | string | false | none | none |
| ยป transactionCount | string | false | none | Nonce as hex QUANTITY from eth_getTransactionCount. |