eth_getTransactionCount: parameters, returns and CU
Return the transaction count (nonce) of an address at a block. See parameters, return value, CU metering and supported chains for this method.
Summary
Return the number of transactions sent from an address (its nonce) at a given block.
Compute Units (CU) and Pricing
10 CU
$1
Parameters
| Parameter | Type | Description |
|---|---|---|
address | ADDRESS | Account address to query. |
blockParameter | QUANTITY|TAG | Block number or tag: latest, earliest, pending, safe or finalized. |
Returns
- Type:
QUANTITY - Description: Account nonce as a 0x-prefixed hexadecimal quantity.
Notes
With latest only mined transactions count, while pending also counts pending transactions; a difference usually means there are unconfirmed transactions.
Request Example
curl -X POST "https://dev-api.blockvectra.network/v1/robinhood_mainnet" \
-H 'Content-Type: application/json' \
-H 'x-api-key: <api_key>' \
-d '{
"jsonrpc": "2.0",
"method": "eth_getTransactionCount",
"params": [
"<address>",
"latest"
],
"id": 1
}'Supported Chains
Supported chains:
- EthereumBeta
eth_mainnet - HyperEVM
hyperevm_mainnet - Robinhood Chain
robinhood_mainnet
Related references
eth_getStorageAt: parameters, returns and CU
Return the raw value stored at a given storage slot of an address. See parameters, return value, CU metering and supported chains for this method.
eth_getBlockByNumber: parameters, returns and CU
Return a block by number, optionally with full transactions. See parameters, return value, CU metering and supported chains for this method.