{"uid":"cap_zYTCt5pA7TOnM3vJw9jfr","slug":"base-block-number-3eccf6ae","name":"Base Block Number","description":"Latest Base mainnet block height via eth_blockNumber - the current chain tip.","url":"https://x402.agentindex.world/base/block-number?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","bodyType","body"],"properties":{"body":{"type":"object","title":"BlockNumberInput","properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","title":"BlockNumberOutput","required":["block_number","block_number_hex"],"properties":{"block_number":{"type":"integer","title":"Block Number"},"block_number_hex":{"type":"string","title":"Block Number Hex"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_F-owv28NPJfEBIOCgJr7b","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current Base mainnet block height (chain tip) as both a decimal integer and hex string.","exampleAgentPrompt":"What is the current block number on Base mainnet right now?","exampleUseCases":[{"title":"Monitor Base chain progress","prompt":"Keep checking the current Base mainnet block number every few minutes and alert me if it stops advancing — I want to know if the chain stalls."},{"title":"Sync confirmation depth check","prompt":"What's the latest block height on Base right now? I need to verify my transaction has at least 12 confirmations from block 18500000."},{"title":"Blockchain explorer reference","prompt":"Pull the current Base block number for me — I'm building a dashboard that shows how far behind our indexed data is from the chain tip."}],"resultDescription":"Returns a JSON object containing the current Base mainnet block number as a decimal integer (`block_number`) and as a hex string (`block_number_hex`), representing the latest block at the chain tip at time of query.","failureModes":["Network or RPC node outage returns 5xx error","Payment of $0.001 USDC not provided or rejected returns 402 Payment Required","Rate limiting may return 429 if called excessively"],"whenToPreferThis":"Use this endpoint when you need a fast, pay-per-call lookup of the current Base mainnet block height without managing your own RPC node or API key. Ideal for lightweight agents that occasionally need chain-tip data without a persistent web3 connection.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:32:24.331Z","isFirstParty":false,"canonicalSlug":"base-block-number-3eccf6ae"}