{"uid":"cap_qqUZhltywu3YDDUqJd61g","slug":"x402-toolbox-block-number-lookup-a2c63bb3","name":"x402-toolbox Block Number Lookup","description":"309 deterministic pay-per-call tools for AI agents over x402 (USDC, Base). No signup, no API key: the payment is the identity.","url":"https://x402-toolbox.shablony-pro.workers.dev/chain/block-number?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"schema":{"type":"string"}}},"responseSchema":{"type":"json","example":{"ok":true,"paid":true}},"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_orJM7bAU0mdkVcUWhBsmo","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 current block number of a blockchain network, paid per-call via x402 USDC micropayment on Base.","exampleAgentPrompt":"What is the current block number on the blockchain right now? Use the x402-toolbox pay-per-call service — I'm fine with a $0.002 USDC charge.","exampleUseCases":[{"title":"On-chain state synchronization check","prompt":"Hey, what's the current block number on chain? I need to know if my contract deployment has been confirmed — use the x402-toolbox block number endpoint, paying with USDC."},{"title":"Blockchain automation trigger","prompt":"Check the current block number right now so I can decide whether to trigger my next on-chain action — go ahead and pay the micropayment fee with USDC."},{"title":"Smart contract timing verification","prompt":"What block are we on right now? I want to verify the timing window for a time-locked smart contract — pull the current block number from the x402-toolbox."}],"resultDescription":"Returns a JSON object with an 'ok' boolean indicating success and a 'paid' boolean confirming the x402 micropayment was processed, along with the current block number of the queried blockchain network.","failureModes":["Payment not included or rejected — returns 402 Payment Required","Invalid schema parameter — may return malformed or empty response","Network or Worker outage — returns 5xx error","Chain not supported or misconfigured — returns error or null block number"],"whenToPreferThis":"Prefer this endpoint when you need a quick, no-signup, no-API-key way to fetch the current block number on Base or compatible chains, and you are already operating in an x402 micropayment context using USDC. It is ideal for AI agents that need deterministic, pay-per-call blockchain data access without credential management overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T04:32:21.308Z","isFirstParty":false,"canonicalSlug":"x402-toolbox-block-number-lookup-a2c63bb3"}