{"uid":"cap_ECDZIr-3CqieAiTxNfjbE","slug":"skills-onesource-io-aa670e7b","name":"skills.onesource.io Wallet Nonce Lookup","description":"Fetches the current nonce for a given wallet address on-chain.","url":"https://skills.onesource.io/api/chain/nonce/0xd8da6bf26964af9d7eed9e03e53415d37aa96045","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"block":{"oneOf":[{"type":"integer","minimum":0},{"enum":["latest","pending","earliest","safe","finalized"],"type":"string"},{"type":"string","pattern":"^0x[a-fA-F0-9]+$"}]},"address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"network":{"enum":["ethereum","sepolia","avax","megaeth","megaeth-testnet","base"],"type":"string","default":"ethereum"}}},"responseSchema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","required":["nonce"],"properties":{"nonce":{"type":"string"}}},"meta":{"type":"object","required":["endpoint","request_id"],"properties":{"endpoint":{"type":"string"},"request_id":{"type":"string"}}}}},"example":{"request":{"block":"latest","network":"ethereum"},"response":{"data":{"nonce":"0x1708"},"meta":{"endpoint":"/api/chain/nonce/0xd8da6bf26964af9d7eed9e03e53415d37aa96045","request_id":"18978e08f9ab33d5"}}},"exampleRequest":{"block":"latest","network":"ethereum"},"tags":["x402"],"displayCostAmount":"0.003000","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.003000/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_8eq7909tGLn5FNK3oN1m8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches the current on-chain transaction nonce for a given Ethereum-compatible wallet address at a specified block.","exampleAgentPrompt":"What is the current on-chain nonce for wallet 0xd8da6bf26964af9d7eed9e03e53415d37aa96045 on Ethereum mainnet at the latest block?","exampleUseCases":[{"title":"Verify wallet transaction history before sending","prompt":"Check how many transactions have been sent from my wallet 0x742d35Cc6634C0532925a3b844Bc9e7595f42e7 so I know what nonce to use for my next transaction"},{"title":"Audit pending transactions across network","prompt":"Get the pending nonce for address 0x8ba1f109551bD432803012645Ac136ddd64DBA72 on Base network to see if any transactions are still processing"},{"title":"Monitor wallet activity on multiple chains","prompt":"What's the current transaction count for wallet 0xd8da6bf26964af9d7eed9e03e53415d37aa96045 on Avalanche to help me track its recent activity"}],"resultDescription":"Returns a hex-encoded nonce value (e.g. '0x678') representing the number of transactions sent from the wallet address, along with request metadata including the endpoint path and a unique request ID.","failureModes":["Invalid wallet address format returns validation error","Unsupported network value returns enum mismatch error","Invalid block reference (malformed hex) returns parsing error","Network timeout or RPC node unavailability returns 5xx error","Address with no transactions returns nonce of 0x0"],"whenToPreferThis":"Use this endpoint when you need to programmatically determine the current transaction nonce for an Ethereum-compatible wallet on supported networks (ethereum, base, avax, sepolia, megaeth). Ideal for transaction construction, replay attack prevention checks, or auditing wallet activity count. Supports multiple block tags including latest, pending, and finalized.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:44:15.242Z","isFirstParty":false}