{"uid":"cap_rjRFl2JVh5XwOsH0AIK0-","slug":"ethereum-transaction-nonce-lookup-0842de28","name":"Ethereum Transaction Nonce Lookup","description":"Next transaction nonce for any address (latest and pending) via eth_getTransactionCount — how many txs it has sent, and whether one is stuck in the mempool. Example: {address:\"0xd8dA…6045\", chain:\"base\"}. $0.001.","url":"https://api.axiomworks.co.uk/chain/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":["address"],"properties":{"chain":{"enum":["base","ethereum","arbitrum","optimism","polygon"],"type":"string","description":"EVM chain (default base)"},"wallet":{"type":"string","description":"Alias for address (owner wallet)"},"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Address"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"nonce":{"type":"number"},"has_pending":{"type":"boolean"},"pending_nonce":{"type":"number"}}}}}}},"responseSchema":{"type":"json","example":{"chain":"base","nonce":70,"source":"eth_getTransactionCount","address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","chain_id":8453,"txs_sent":70,"has_pending":false,"pending_nonce":70}},"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__mGVqOnhAwX31dbZKL1eH","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 confirmed nonce and pending nonce for any EVM address, indicating how many transactions it has sent and whether one is stuck in the mempool.","exampleAgentPrompt":"What's the current confirmed nonce and pending nonce for 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Base — and does it have any stuck transactions in the mempool right now?","exampleUseCases":[{"title":"Detecting stuck mempool transaction","prompt":"Check if 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B has any stuck or pending transactions on Ethereum right now — I need to know if there's something in the mempool before I send a replacement."},{"title":"Setting correct nonce for new transaction","prompt":"Before I broadcast a transaction for 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Arbitrum, what nonce should I use? Give me the latest confirmed and pending nonce so I don't accidentally queue behind something."},{"title":"Auditing wallet transaction count on Polygon","prompt":"How many transactions has 0x1234567890abcdef1234567890abcdef12345678 sent on Polygon in total, and is there anything currently pending in the mempool?"}],"resultDescription":"Returns a JSON object with the wallet address, chain name, chain ID, confirmed nonce (txs_sent), pending nonce, a boolean has_pending flag, and the data source (eth_getTransactionCount). Example: {chain:'base', nonce:70, has_pending:false, pending_nonce:70, txs_sent:70, address:'0x...', chain_id:8453}.","failureModes":["Invalid address format (not a 0x-prefixed 40-hex-char address) returns a validation error","Unsupported chain name returns an error (only base, ethereum, arbitrum, optimism, polygon are accepted)","RPC node downtime or chain congestion may cause timeouts or stale results","Payment failure (insufficient USDC balance for x402 micropayment) blocks the request"],"whenToPreferThis":"Use this endpoint when you need to determine the correct nonce for constructing or replacing an EVM transaction, or when diagnosing whether a wallet has a stuck/pending transaction in the mempool across Base, Ethereum, Arbitrum, Optimism, or Polygon. Prefer this over querying an RPC node directly when you want a simple REST API without managing RPC connections, and when you need both the confirmed and pending nonce in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-12T12:34:24.606Z","isFirstParty":false,"canonicalSlug":"ethereum-transaction-nonce-lookup-0842de28"}