chainpeek: an account's transaction count (nonce) on Ethereum, Base or Robinhood Chain
get_account_nonceRetrieve an account's transaction count (nonce) on Ethereum, Base, or Robinhood Chain at latest, pending, or finalized to find the next nonce to send.
Instructions
chainpeek: Get an account's transaction count on Ethereum, Base or Robinhood Chain. For the next nonce with balance and gas checks use transfer_preflight; for the chain head use get_block_number. Returns the account's transaction count (nonce, and nonce_hex) at latest, pending (includes the node's mempool: the next nonce to send) or finalized, from eth_getTransactionCount. Ethereum, Base and Robinhood only; read-only: nothing is signed or sent. RPC reads are cached up to 30 s. A bad address, hash, hex string, block or range is a 422 before any payment (not charged). Typically under 1 s. Price: USD 0.001. Free: 10 chain reads per IP per UTC day. Docs: https://tanod.dev/learn/ethereum-rpc-reads-api.html
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| block | No | latest (default), pending (counts the node's mempool: use it for the next nonce to send) or finalized. | latest |
| chain | Yes | ethereum, base or robinhood (Robinhood Chain, chain id 4663). | |
| address | Yes | Account address (0x + 40 hex). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| block | No | ||
| chain | No | ||
| error | No | Only on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object. | |
| nonce | No | ||
| address | No | ||
| nonce_hex | No |