{"uid":"cap_nuIvVWVZ_xnFpvsmLWz9E","slug":"xerxes-ethereum-transaction-count-eth-gettransactioncount-230f89de","name":"Xerxes Ethereum Transaction Count (eth_getTransactionCount)","description":"Returns the number of transactions sent from an Ethereum address (nonce). Used by wallets, explorers, and dapps to determine the next transaction sequence. Query: address (0x + 40 hex).","url":"https://ari001.tailb4ac3a.ts.net/v1/ventures/ethereum_rpc_api/eth_gettransactioncount?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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["address"],"properties":{"address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"0x + 40 hex"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["ok","service"],"properties":{"ok":{"type":"boolean"},"hex":{"type":["string","null"]},"chain":{"type":"string"},"error":{"type":"string","description":"present when ok is false"},"method":{"type":"string"},"result":{"type":"integer"},"service":{"type":"string"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Wbk75-o9dPOYHOUkG_Wgy","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the number of transactions sent from an Ethereum address (the account nonce), used to determine the next valid transaction sequence number.","exampleAgentPrompt":"How many transactions has the Ethereum address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 sent so far? I need the current nonce.","exampleUseCases":[{"title":"Pre-transaction nonce check for wallet","prompt":"Before I send a transaction from 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045, what is its current nonce on Ethereum mainnet so I can set the sequence number correctly?"},{"title":"Wallet activity audit","prompt":"Can you tell me how many transactions the Ethereum address 0xAbCd1234567890AbCd1234567890AbCd12345678 has ever sent? I want to know if it's an active account or fresh."},{"title":"Stuck transaction diagnosis","prompt":"I think I have a stuck pending transaction from 0x742d35Cc6634C0532925a3b844Bc454e4438f44e — can you check what the current confirmed nonce is for that address on Ethereum?"}],"resultDescription":"Returns a JSON object with 'ok' (boolean), 'result' (integer — the transaction count/nonce), 'chain' (network identifier), 'method' (eth_getTransactionCount), and 'service' (Xerxes). On failure, 'ok' is false and 'error' contains a description. The 'hex' field may also be present with the hex-encoded count.","failureModes":["Invalid Ethereum address format (not 0x + 40 hex chars) — returns ok:false with validation error","Address not found or never used on mainnet — returns ok:true with result:0","Upstream RPC node unavailable — returns ok:false with connectivity error","Malformed request missing required address query parameter — returns HTTP 400 or ok:false"],"whenToPreferThis":"Use this endpoint when you need the Ethereum mainnet account nonce for a specific address — either to construct the next outbound transaction, audit account activity, or diagnose stuck/pending transactions. Prefer this over generic Ethereum RPC gateways when you want a simple REST GET interface with per-call x402 micropayment billing and no API key management. If you need the nonce on Base rather than Ethereum mainnet, use the sibling Base wallet snapshot endpoint instead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T01:09:59.153Z","isFirstParty":false,"canonicalSlug":"xerxes-ethereum-transaction-count-eth-gettransactioncount-230f89de"}