{"uid":"cap_rou4OcTQIMGm8NQjC2vPw","slug":"base-block-header-lookup-40e2e307","name":"Base Block Header Lookup","description":"Fetch a Base mainnet block header and transaction hashes by number, tag (latest/earliest/safe/finalized), or hash via eth_getBlockByNumber/eth_getBlockByHash.","url":"https://x402.agentindex.world/base/block?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hash","default":null},"number":{"anyOf":[{},{"type":"null"}],"title":"Number","default":null}}},"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_YJxDOBDp14RvYC8SBo4vE","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":"Fetch a Base mainnet block header and transaction hashes by block number, tag (latest/earliest/safe/finalized), or block hash.","exampleAgentPrompt":"Can you fetch the latest block on Base mainnet and give me the block number, timestamp, and the list of transaction hashes in it?","exampleUseCases":[{"title":"Monitor latest finalized Base block","prompt":"What is the most recently finalized block on Base mainnet? Give me the block number, timestamp, and transaction hashes."},{"title":"Verify transaction inclusion by block number","prompt":"Fetch Base block number 18500000 and list all the transaction hashes so I can confirm whether a specific transaction is included."},{"title":"Retrieve block data by hash","prompt":"I have this Base block hash 0xabc123...def456 — can you pull the full block header and transaction list for it?"}],"resultDescription":"Returns a block header object for the requested Base mainnet block, including block number, hash, parent hash, timestamp, miner/coinbase address, gas used, gas limit, and an array of transaction hashes contained in the block.","failureModes":["Block not found — if a block number or hash does not exist on Base mainnet, returns null or an error","Invalid hash format — malformed block hash string results in an RPC error","Future block number — requesting a block number beyond the current chain tip returns null","Missing parameters — if neither hash nor number is provided, behavior defaults to latest or may return an error","Network/RPC timeout — occasional latency spikes from the underlying Base node"],"whenToPreferThis":"Choose this endpoint when you need lightweight block-level metadata and transaction hash lists from Base mainnet without setting up your own RPC node or paying for a full node provider subscription. Ideal for agents that need to confirm block finality, extract transaction hashes for downstream lookups, or monitor chain progress on Base. Not suitable if you need full transaction objects (receipts, logs, decoded calldata) — those require separate calls.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T12:37:19.873Z","isFirstParty":false,"canonicalSlug":"base-block-header-lookup-40e2e307"}