{"uid":"cap_FOzEXh1zJZ65n3mG7uz6o","slug":"eth-get-transaction-count-nonce-on-base-221252a3","name":"ETH Get Transaction Count (Nonce) on Base","description":"Returns the current transaction count (nonce) for a Base address via eth_getTransactionCount JSON-RPC. Base RPC read of an address, block or transaction.","url":"https://ari001.tailb4ac3a.ts.net/v1/ventures/x402_chain_reads_v1/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","properties":{"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"0x + 40 hex"}}}},"additionalProperties":false}}},"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_PCH9QpHVHep5uuTXwgWfN","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 current transaction count (nonce) for a given Base blockchain address via eth_getTransactionCount JSON-RPC","exampleAgentPrompt":"What's the current transaction count (nonce) for the Base address 0xAbCd1234abcd1234abcd1234abcd1234abcd1234? I need it to build a raw transaction.","exampleUseCases":[{"title":"Build raw transaction with correct nonce","prompt":"I'm about to sign a raw transaction on Base for wallet 0x1111222233334444555566667777888899990000 — can you fetch the current nonce so I use the right sequence number?"},{"title":"Check if a wallet has ever transacted","prompt":"Has the Base address 0xDeAdBeEf00000000000000000000000000000001 ever sent any transactions? Pull its transaction count for me."},{"title":"Monitor nonce for stuck transaction detection","prompt":"My Base wallet 0xAaBbCcDdEeFf00112233445566778899AaBbCcDd seems to have a pending stuck transaction — what's its current on-chain transaction count so I can figure out which nonce to replace?"}],"resultDescription":"Returns the transaction count (nonce) as a JSON-RPC eth_getTransactionCount response — an integer representing the number of transactions sent from the address, which is also the nonce to use for the next transaction from that address on Base.","failureModes":["Invalid address format (not 0x + 40 hex) returns a validation or bad-request error","Address not found on Base (brand-new address) returns 0, not an error — agents should handle 0 as valid","Payment failure (x402 micropayment not accepted) blocks the request","Node unavailability or RPC timeout returns a 5xx error","Querying mainnet Ethereum address on Base L2 may return a different nonce than expected if the wallet has only transacted on mainnet"],"whenToPreferThis":"Use this endpoint when you need the nonce for a specific Base address — for example, to construct or sequence a raw transaction, detect stuck transactions, or verify account activity on the Base L2 chain. Prefer this over generic Ethereum mainnet nonce lookups when your target chain is Base. It uses a pay-per-call x402 micropayment model so no API key is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-03T06:30:43.396Z","isFirstParty":false,"canonicalSlug":"eth-get-transaction-count-nonce-on-base-221252a3"}