{"uid":"cap_-YSE_ow_cuO-Mo1JuEvVW","slug":"base-address-nonce-fb97bc93","name":"Base Address Nonce","description":"🆕 The next nonce for any Base address, plus its ETH balance and whether it is a contract. The count means different things either side of that line — transactions sent for a wallet, contracts deployed for a contract — so both are reported under their own name instead of one ambiguous number. What you need before building a transaction, or to tell a fresh address from a used one.","url":"https://402.com.tr/api/x402/base-nonce","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"},"pathParams":{"type":"object"},"queryParams":{"type":"object","required":["address"],"properties":{"address":{"type":"string","description":"Address"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xKYch2mVCPqfIYU2FAAFv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","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, ETH balance, and contract status for any Base network address","exampleAgentPrompt":"What's the current nonce, ETH balance, and contract status for Base address 0x742d35Cc6634C0532925a3b844Bc454e4438f44e? I need to know before I build my next transaction.","exampleUseCases":[{"title":"Pre-transaction nonce check","prompt":"Before I submit this raw transaction on Base, can you grab the current nonce for 0x742d35Cc6634C0532925a3b844Bc454e4438f44e so I know what sequence number to use?"},{"title":"Fresh address detection","prompt":"Tell me if 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B on Base is a fresh unused address or has already sent transactions — I want its nonce and ETH balance too."},{"title":"Contract vs wallet classification","prompt":"Is 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD on Base a smart contract or a regular wallet, and how many times has it transacted?"}],"resultDescription":"Returns the next nonce for the given Base address (labeled separately as transaction count for wallets vs contracts deployed for contract addresses), the address's current ETH balance, and a boolean indicating whether the address is a smart contract or an externally owned account (EOA).","failureModes":["Invalid or malformed address returns a 400 error","Address not found on Base (zero-activity address) may return nonce of 0 with zero balance","Network congestion or RPC errors may cause timeouts","Non-Base addresses (e.g. Ethereum mainnet) may return incorrect or misleading results"],"whenToPreferThis":"Use this endpoint when you need to prepare a Base transaction and need the correct nonce, when auditing whether an address is fresh or has prior activity, or when you need to quickly distinguish between a smart contract and a wallet on Base. It bundles nonce, ETH balance, and contract detection in a single call, saving multiple RPC round-trips.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:44:39.527Z","isFirstParty":false}