{"uid":"cap_KJZZ-FegSWeFBaaplsU_c","slug":"blockchain-transaction-nonce-lookup-6f6fa156","name":"Blockchain Transaction Nonce Lookup","description":"Use when you need the next transaction nonce of an address on Base, Ethereum, Arbitrum, Optimism or Polygon: confirmed count (latest) and pending count, to build or debug transactions.","url":"https://biosfera.46-62-215-147.sslip.io/o/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":{"enum":["base","ethereum","arbitrum","optimism","polygon"],"type":"string"},"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"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_sxylnzTFTMursqK-Jq3eo","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 confirmed (latest) and pending transaction nonce for a wallet address on Base, Ethereum, Arbitrum, Optimism, or Polygon.","exampleAgentPrompt":"What's the current confirmed and pending nonce for wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Ethereum mainnet so I can build my next transaction?","exampleUseCases":[{"title":"Build next raw transaction safely","prompt":"I need to send a raw transaction from 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Base — what's the current confirmed nonce so I can set the right nonce field?"},{"title":"Debug stuck pending transaction","prompt":"My transaction seems to be stuck in the mempool on Arbitrum. Can you check the confirmed vs pending nonce for 0xAbCd1234567890abcdef1234567890abcdef1234 so I can figure out if there's a nonce gap?"},{"title":"Verify wallet activity count on Polygon","prompt":"How many transactions has 0x742d35Cc6634C0532925a3b8D4C9C1234567890a sent on Polygon, including any pending ones?"}],"resultDescription":"Returns the confirmed nonce (number of transactions included in finalized blocks, i.e. 'latest' count) and the pending nonce (including transactions in the mempool) for the given address on the specified chain. These values help agents correctly sequence new transactions or diagnose nonce-related issues.","failureModes":["Invalid address format (not a 0x-prefixed 40-hex-character string) returns an error","Unsupported chain value returns an error — only base, ethereum, arbitrum, optimism, polygon are valid","Network or RPC errors may result in a timeout or 5xx response","Missing required query parameters (chain or address) returns a validation error","Address with no transaction history returns nonce of 0 for both confirmed and pending"],"whenToPreferThis":"Use this endpoint when you need to construct, sequence, or debug EVM transactions across Base, Ethereum, Arbitrum, Optimism, or Polygon and need accurate nonce values. Prefer it over block explorers when you need both confirmed and pending nonce in a single programmatic call, or when diagnosing stuck/dropped transactions due to nonce gaps.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T06:33:50.715Z","isFirstParty":false,"canonicalSlug":"blockchain-transaction-nonce-lookup-6f6fa156"}