{"uid":"cap_Hv7LunHnBl-pFjzzvLKLx","slug":"evm-account-nonce-lookup-d34c1d80","name":"EVM Account Nonce Lookup","description":"EVM account nonce on 16 chains: latest versus pending, transactions in flight, next nonce to use, and how to replace a stuck transaction.","url":"https://saylorinnovations.com/api/explorer/nonce?utm_source=zero.xyz","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":["chain","address"],"properties":{"chain":{"type":"string","description":"chain name or id"},"address":{"type":"string","description":"the sending account address"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["chain","chain_id","address","nonce_latest","next_nonce_to_use","status","native_symbol","advice","note","source"],"properties":{"note":{"type":"string","description":"Caveat or context for reading the result"},"chain":{"type":"string","description":"Blockchain the data is for"},"advice":{"type":"string","description":"The advice text"},"source":{"type":"string","description":"Data source the values come from"},"status":{"type":"string","description":"Current status"},"address":{"type":"string","description":"Account or contract address"},"chain_id":{"type":"number","description":"EVM chain id"},"nonce_latest":{"type":"number","description":"Nonce latest"},"native_symbol":{"type":"string","description":"Native symbol"},"nonce_pending":{"type":["number","null"],"description":"Nonce pending"},"balance_native":{"type":["number","null"],"description":"Balance native"},"gas_price_gwei":{"type":["number","null"],"description":"Gas price in gwei"},"next_nonce_to_use":{"type":"number","description":"Next nonce to use"},"pending_transactions":{"type":["number","null"],"description":"Pending transactions"}}}}}}},"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_S3G56cNLCgty9C8VJwEZi","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 latest and pending nonce for an EVM account address on a specified chain, plus the next nonce to use and advice for replacing stuck transactions.","exampleAgentPrompt":"What's the current nonce situation for my address 0xAbC1234...on Ethereum mainnet — latest vs pending, how many transactions are in flight, and what nonce should I use next?","exampleUseCases":[{"title":"Diagnosing a stuck transaction","prompt":"My transaction seems to be stuck on Polygon — can you check the latest vs pending nonce for 0x742d35Cc6634C0532925a3b844Bc454e4438f44e and tell me what nonce I'd need to replace it?"},{"title":"Safe nonce for next transaction","prompt":"What's the next nonce I should use for my address 0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe on Arbitrum so my transaction doesn't conflict with pending ones?"},{"title":"Monitoring in-flight transactions","prompt":"How many transactions are currently in flight for 0x4e83362442B8d1beC281594cEa3052c8eb01311C on Base, and what's the gap between its latest and pending nonce?"}],"resultDescription":"A JSON object containing the chain name and chain ID, the queried address, nonce_latest (confirmed on-chain), nonce_pending (including mempool), next_nonce_to_use (the recommended nonce for the next send), pending_transactions count, native token balance, current gas price in gwei, a status label, human-readable advice for handling stuck or pending transactions, a caveat note, and the data source used.","failureModes":["Invalid or malformed EVM address returns an error response","Unsupported or misspelled chain name returns a chain-not-found error","RPC node unavailability for a specific chain may return null for pending fields","Network timeout resulting in incomplete nonce data","Address with no on-chain activity may return nonce 0 with minimal context"],"whenToPreferThis":"Use this endpoint when an AI agent needs to determine the correct nonce for broadcasting an EVM transaction, diagnose why a transaction is stuck in the mempool, count in-flight transactions, or retrieve actionable replacement advice — especially across 16 supported chains without having to run your own RPC node.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:33:43.638Z","isFirstParty":false,"canonicalSlug":"evm-account-nonce-lookup-d34c1d80"}