Base account nonce
Read the transaction count (nonce) of a 0x address on Base, both confirmed and including pending transactions. Use to build the next transaction or to tell whether an address has ever sent anything; for its balance use base_balance. A malformed address is rejected with 400, uncharged.
Inputs
| Name | Type | Description |
|---|---|---|
address (required) | string | 0x address |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/base/nonce?address=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
Or one of your 25 free calls, no key:
curl "https://agent-data-tools.revmesh2074.workers.dev/base/nonce?address=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045&trial=1"
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum, Monad, World Chain or Tempo) and retries.
Example result
{
"chain": "Base",
"chainId": 8453,
"address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"nonce": 1204,
"pendingNonce": 1204,
"hasSent": true
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is base_nonce, and the first 25 successful calls are free:
https://agent-data-tools.revmesh2074.workers.dev/mcp