{"uid":"cap_Rzq0jUyhxYq3v1NoNH_AA","slug":"account-nonce-5468e55f","name":"Account Nonce","description":"Read the transaction count of an address on Base. POST {\"address\":\"0x...\"} with an optional {\"pending\":true} to include the mempool. Returns the nonce an agent should use for its next transaction.","url":"https://x402-echo-service.onrender.com/chain/nonce","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"address":{"type":"string"},"pending":{"type":"boolean"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_egefUuUzlte6mLb_lMDJ_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","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 count (nonce) for a Base blockchain address, optionally including pending mempool transactions.","exampleAgentPrompt":"What nonce should I use for my next transaction from wallet 0xAbC123...? Also include any pending transactions in the mempool.","exampleUseCases":[{"title":"Pre-flight check before signing transaction","prompt":"Before I submit a new transaction from 0xAbC123..., what nonce should I use? Include pending transactions so I don't accidentally reuse one."},{"title":"Diagnosing stuck pending transactions","prompt":"I think I have a stuck pending transaction on Base from 0xDef456... — can you check the confirmed nonce and the pending nonce so I can figure out what's stuck?"},{"title":"Auditing wallet transaction history","prompt":"How many transactions has wallet 0x789Ghi... ever sent on Base? I want the confirmed count, not including anything still in the mempool."}],"resultDescription":"Returns the nonce (transaction count) as an integer representing how many transactions the address has sent. If pending:true is passed, the count includes unconfirmed transactions currently in the mempool, giving the correct nonce for a new transaction to be submitted immediately after any pending ones.","failureModes":["Invalid or malformed Ethereum address returns an error response","Address not found on Base (zero transactions) returns 0, which is valid and not an error","Network or RPC errors from the Base node may cause timeouts or 5xx responses","Missing required 'address' field returns a 400-level validation error"],"whenToPreferThis":"Use this endpoint when an agent needs to construct and sign a raw transaction on Base and must determine the correct nonce to avoid nonce conflicts or transaction rejection. Prefer over manual RPC calls when you need a simple, paid-per-use REST interface without managing a Base node or Web3 library. The pending:true flag is especially valuable when multiple transactions are being submitted in quick succession.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:46:16.319Z","isFirstParty":false}