{"uid":"cap_1KzvEpBI9tl_9hT5vIwlr","slug":"agent-rest-stop-freshnonce-83980fcb","name":"Agent Rest Stop – FreshNonce","description":"Next nonce from a public RPC read.","url":"https://agent-gas-station.agent-gas-station.workers.dev/v1/FreshNonce?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"chain":{"type":"string"},"address":{"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_f6EDCf9bV4j9UFBJ9TaZw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the next transaction nonce for a given address on a specified blockchain chain by reading from a public RPC node.","exampleAgentPrompt":"What's the current nonce for wallet address 0xABCD...1234 on Base so I can sign my next transaction?","exampleUseCases":[{"title":"Pre-sign nonce check for EVM transaction","prompt":"Before I broadcast this raw Ethereum transaction, get me the fresh nonce for address 0x742d35Cc6634C0532925a3b844Bc454e4438f44e on Ethereum mainnet."},{"title":"Nonce lookup for Base chain deployment","prompt":"I'm about to deploy a contract from 0x1234567890abcdef1234567890abcdef12345678 on Base — can you fetch the correct nonce so there are no sequence errors?"},{"title":"Avoiding replay errors on Polygon","prompt":"Get the next nonce for 0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef on Polygon so I can construct a transaction without hitting a nonce conflict."}],"resultDescription":"Returns the next nonce (transaction count) for the specified address on the given chain, sourced from a live public RPC read — giving the agent the correct sequence number to use when constructing or signing a blockchain transaction.","failureModes":["Invalid or unsupported chain identifier returns an error","Malformed or missing wallet address causes a validation failure","Public RPC node temporarily unavailable leads to timeout or 503 error","Stale nonce if a pending transaction exists but hasn't been mined yet","Payment not received or invalid results in 402 Payment Required"],"whenToPreferThis":"Use this endpoint when an AI agent needs a fresh nonce immediately before constructing, signing, or broadcasting an EVM-compatible transaction. Prefer this over caching or maintaining local nonce state, especially in multi-agent or concurrent-transaction scenarios where nonce drift is a risk.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:41:14.153Z","isFirstParty":false,"canonicalSlug":"agent-rest-stop-freshnonce-83980fcb"}