{"uid":"cap_uvv1qOf7lOm3HYA2c9yZd","slug":"evm-address-nonce-1d6a3486","name":"EVM Address Nonce","description":"60 paid endpoints with no metering, no API key and no account. Each endpoint has one flat price per call, whatever the size of the request: LLM completions with automatic failover across several large models, read-only EVM tooling over Base, Ethereum, Polygon, Arbitrum and Optimism, and pure crypto utilities that touch no network.","url":"https://flat-rate-llm.kikoribera03.workers.dev/v1/evm/nonce","method":"POST","headers":{},"bodySchema":{"type":"object","required":["address"],"properties":{"chain":{"type":"string","description":"base | ethereum | polygon | arbitrum | optimism."},"address":{"type":"string","description":"Address to look up."}}},"responseSchema":{"type":"object","properties":{"nonce":{"type":"number"},"isContract":{"type":"boolean"},"pendingNonce":{"type":"number"}}},"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_pbtxWageoqNe5l_2T8FMO","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 next transaction nonce and pending nonce for any EVM address, and whether the address is a contract, via eth_getTransactionCount.","exampleAgentPrompt":"What's the next transaction nonce for 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Ethereum mainnet? Also tell me if it's a contract address.","exampleUseCases":[{"title":"Pre-signing nonce fetch for transaction","prompt":"Before I sign this transaction for wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Ethereum mainnet, what's the correct nonce I should use?"},{"title":"Detecting contract vs EOA address","prompt":"Is 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 a smart contract or a regular wallet address on Ethereum?"},{"title":"Pending nonce check for stuck transactions","prompt":"I think I have a stuck transaction — can you check the confirmed nonce and pending nonce for 0xAbCd1234567890abcdef1234567890abcdef1234 on Ethereum so I can figure out what replacement nonce to use?"}],"resultDescription":"Returns a JSON object with three fields: 'nonce' (the confirmed transaction count / next nonce to use for a new transaction), 'pendingNonce' (the nonce including pending mempool transactions), and 'isContract' (boolean indicating whether the address is a smart contract rather than an externally owned account).","failureModes":["Invalid or malformed EVM address returns an error response","Unsupported chain ID results in an error or empty response","Network connectivity issues to the underlying RPC node may cause timeouts","Address with no transactions returns nonce of 0, which is valid but may be misread as an error","Missing required address parameter returns a 400-level error"],"whenToPreferThis":"Use this endpoint when you need the correct nonce before constructing or signing an EVM transaction, or when you need to quickly determine whether an address is a smart contract vs an EOA. It is purpose-built for pre-transaction preparation and wraps eth_getTransactionCount with the added isContract signal in one call, saving a separate eth_getCode round-trip.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:45:12.216Z","isFirstParty":false}