{"uid":"cap_jmYg7BjJ6wXhgAdUVLx6H","slug":"mach-gallery-base-nonce-lookup-8fbaaad6","name":"Mach Gallery Base Nonce Lookup","description":"Fast, low-cost Base data for autonomous agents. No API keys, no subscriptions; pay per call with USDC over x402.","url":"https://api.mach.gallery/api/base/nonce?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Wallet or account address on Base mainnet."}}},"responseSchema":{"type":"json","example":{"nonce":0,"network":"eip155:8453"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_PTdC7Xh_b5TGN9KvEWIZ5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","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 nonce for an EVM address on the Base blockchain (chain ID 8453)","exampleAgentPrompt":"What's the current nonce for the Base address 0x1234567890abcdef1234567890abcdef12345678? I need it before I sign my next transaction.","exampleUseCases":[{"title":"Pre-transaction nonce check for agent wallet","prompt":"Before submitting my next transaction on Base, get the current nonce for my wallet 0xAbCd1234567890abcdef1234567890abcdef5678 so I don't accidentally replay or drop the tx."},{"title":"Detecting wallet activity on Base","prompt":"Can you check the nonce for 0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef on Base? I want to know how many transactions that address has ever sent."},{"title":"Parallel transaction sequencing for autonomous agent","prompt":"My agent needs to queue several Base transactions in order — fetch the current nonce for 0xFeedFaceFeedFaceFeedFaceFeedFaceFeedFace so I can number them correctly."}],"resultDescription":"Returns a JSON object with the integer nonce (number of transactions sent from the address) and the network identifier in CAIP-2 format (e.g. 'eip155:8453' for Base mainnet).","failureModes":["Invalid address format (not a valid 0x-prefixed 20-byte hex string) returns an error","Address not found or never used on Base returns nonce 0","Network outage or RPC unavailability returns a 5xx error","Payment failure via x402 if USDC balance is insufficient","Malformed request body returns a 400-level error"],"whenToPreferThis":"Use this endpoint when you need a fast, keyless, pay-per-call nonce lookup for an EVM address on Base mainnet without managing API subscriptions. Ideal for autonomous agents that need the current transaction count before constructing or signing Base transactions. Prefer this over self-hosted RPC calls when you want metered, low-cost access without RPC node management.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T04:37:22.423Z","isFirstParty":false,"canonicalSlug":"mach-gallery-base-nonce-lookup-8fbaaad6"}