{"uid":"cap_sxB3SXZNVpp54BUrwI6Xg","slug":"base-block-reader-c680d1d5","name":"Base Block Reader","description":"Read the head of the Base chain, or a specific block. POST {} for the latest block, or {\"number\":12345678} for one by height. Returns number, hash, unix timestamp, gas used and transaction count. Useful as an authoritative chain clock.","url":"https://x402-echo-service.onrender.com/chain/block","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"number":{"type":"integer","minimum":0,"description":"Block height. Omit for the chain head."}}},"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_vKIfvhPzruUsjZlXqt_6C","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":"Fetches block metadata from the Base blockchain — either the latest block (chain head) or a specific block by height — returning number, hash, timestamp, gas used, and transaction count.","exampleAgentPrompt":"What does the current head of the Base chain look like — block number, hash, timestamp, gas used, and transaction count?","exampleUseCases":[{"title":"Authoritative on-chain timestamp","prompt":"What is the exact unix timestamp of the latest Base block? I need it as an authoritative on-chain clock for my application."},{"title":"Historical block data lookup","prompt":"Can you pull the block details for Base block number 12345678 — I need the hash, timestamp, gas used, and how many transactions were in it."},{"title":"Chain health monitoring","prompt":"What's the current block number and gas used on the Base chain right now? I'm monitoring chain activity and need a fresh snapshot."}],"resultDescription":"Returns a JSON object containing the block's number (height), hash (hex string), unix timestamp, total gas used, and transaction count. For the latest block, reflects the current chain head at query time.","failureModes":["Block number too high / not yet mined — returns an error indicating the block does not exist","Invalid or negative block number — rejected by input schema validation","Network or RPC timeout — service may return a 5xx or timeout error","Service unavailable (Render cold start) — initial requests may time out if the service is sleeping"],"whenToPreferThis":"Use this endpoint when you need a quick, authoritative snapshot of a Base chain block — especially the chain head as a clock or for block-level metadata. Prefer it over full Ethereum node RPC calls when you want a simple, paid-per-call abstraction without managing your own node. Ideal for agents that need block timestamps, gas context, or transaction counts without parsing raw RPC responses.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:41:43.926Z","isFirstParty":false}