{"uid":"cap_uU1cHVU4KmZomhjzWnZMn","slug":"on-chain-nonce-lookup-b2c2a24a","name":"On-Chain Nonce Lookup","description":"An address's transaction count (nonce) via eth_getTransactionCount — the next nonce to use and total outgoing transactions, across Base, Ethereum, Optimism, Arbitrum, Polygon, Gnosis. The read settlement and trading agents make to build and sequence transactions. Live public RPC; one paid call at $0.001.","url":"https://x402-agent-store.rileycraig14.workers.dev/chain/nonce","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["address"],"properties":{"chain":{"type":"string","description":"base|ethereum|optimism|arbitrum|polygon|gnosis (default base)"},"address":{"type":"string","description":"Account address (0x...)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"nonce":{"type":"number"}}}}}}},"responseSchema":{"type":"json","example":{"chain":"base","nonce":1842,"address":"0x..."}},"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"chain":"base","address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"}}},"response":{"chain":"base","nonce":70,"signal":"Outgoing tx count / next nonce — for building and sequencing transactions.","source":"public JSON-RPC (eth_getTransactionCount)","address":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045","license":"single-use","served_at":1782881390622,"next_nonce":70}},"exampleRequest":{"chain":"base","address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"},"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_as85FY8qiNbGFPPylQH8J","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current transaction nonce for a given blockchain account address on a specified EVM-compatible chain.","exampleAgentPrompt":"What's the current nonce for the address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Base?","exampleUseCases":null,"resultDescription":"A JSON object containing the chain name, the account address queried, and the current nonce (transaction count) as a number — e.g. {\"chain\":\"base\",\"nonce\":1842,\"address\":\"0x...\"}. The nonce represents how many transactions have been sent from this address on the specified chain.","failureModes":["Invalid or malformed address (non-0x format) — likely returns an error response","Unsupported chain name — falls back to base or returns error","Address not found on chain (zero nonce returned for new wallets) — valid response with nonce:0","Payment failure via x402 — 402 response if USDC payment not provided","Network/RPC timeout for the specified chain — service error"],"whenToPreferThis":"Use this endpoint when an AI agent needs to determine the next transaction nonce for an EVM address before constructing or signing a transaction, or when verifying how many transactions an address has broadcast. Ideal for agents operating without API keys, paying per call in USDC via x402 on Base. Covers Base, Ethereum, Optimism, Arbitrum, Polygon, and Gnosis.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:35:42.110Z","isFirstParty":false}