{"uid":"cap_cK2CMg140yRrg2VWjpcI9","slug":"base-eth-getblockbynumber-rpc-read-28c2997d","name":"Base eth_getBlockByNumber RPC Read","description":"ARYSPHERE sells AI-written verdicts on Base token contracts (a grade, a one-liner, a roast and the contract's facts) and Base/Ethereum chain reads, paid per call in USDC on Base over x402 v2. No account and no API key.","url":"https://ari001.tailb4ac3a.ts.net/v1/ventures/x402_chain_reads_v1/base_eth_getblockbynumber?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"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"block":{"type":"string","description":"a block number, or 'latest'"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"chain":"ethereum","method":"eth_getBlockByNumber","result":{"hash":"0x7538fe3a3bb34856c428edf3a6987a3f65c62e420473a509e0ef6e6446aac74b","size":"0x1d1af","miner":"0x4838b106fce9647bdf1e7877bf73ce8b0bad5f97","nonce":"0x0000000000000000","number":"0x18f1ab8","uncles":[],"gasUsed":"0x169e64a","mixHash":"0xae6149f7ce26ec6622dcee60ac3581ec58f376c6e617344d5d26fa6c79fcd84f","gasLimit":"0x3938700","extraData":"0x546974616e2028746974616e6275696c6465722e78797a29","logsBloom":"0x51ef0f6b5db85bb77c3f1b4de1e5dfafd5fedf65f45c753c161735b56e9beff5dc2cc73aa3bc2fafb97e7b917abf7dddc76b513d9f67ef73dfff2ff2bfefe4db7379d7e11ef186fae93b772fb47b47ffeee47771edfe1bba7176649acf657edef630646aa6ce2a61faf7faf32e606cc7dbffc2be70d6b6","stateRoot":"0xafc5c4791f953764c1240c4605600bffa650467910ff793a6ad44a44ec5bcdad","timestamp":"0x6ac905e3","difficulty":"0x0","parentHash":"0x49c6e74104654981bc3d21e12e9df6dcb4fad59c775948d9c43ecc662dbbeebe","sha3Uncles":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347","blobGasUsed":"0x140000","receiptsRoot":"0xd4d60719e4ba28f68eb398a5d861d44bfdb8a171742a756e0dbcc50250136183","requestsHash":"0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","baseFeePerGas":"0x206e2cc9","excessBlobGas":"0xc0db577","withdrawalsRoot":"0x58b153ac66ecab07f3a899101e5e839985a01f22419ae16886f5321840808584","transactionsRoot":"0xc00956eb9e6da8da2db4d3a68333bf790f6fb92471b67121666f3a739a0b9e6c","parentBeaconBlockRoot":"0x0a477cb0499fc7f2a7d288b176f58f017ce1fc816648df3df102066289a3a962"},"service":"x402_chain_reads_v1.eth_getblockbynumber"}},"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_hWGEWKa_ZVsJdJANjruhc","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":"Fetches Base blockchain block data by block number or 'latest' via the eth_getBlockByNumber JSON-RPC method","exampleAgentPrompt":"Can you fetch the latest block on the Base blockchain and tell me its block number, timestamp, and how much gas was used?","exampleUseCases":[{"title":"Monitor latest Base block height","prompt":"What's the latest block on the Base network right now? I need the block number and timestamp."},{"title":"Inspect specific block details","prompt":"Pull up block 20000000 on Base for me — I want to see the gas used, transaction count, and block hash."},{"title":"Verify block finality for a transaction","prompt":"I need to check block 19999999 on Base to confirm it's been finalized — can you get me its details including the parent hash?"}],"resultDescription":"Returns a JSON object containing the full block details for the specified Base block, including block number, hash, parent hash, miner address, timestamp, gas limit, gas used, transaction list, and other standard Ethereum block fields.","failureModes":["Invalid block number format returns an error or null result","Block number higher than current chain head returns null","Network or RPC node timeout results in a 5xx error","Malformed query parameter causes a 400-level error","Payment failure ($0.003 USDC) results in 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need to read block-level data from the Base (Coinbase L2) blockchain specifically, such as confirming block finality, retrieving timestamps, or inspecting block-level gas metrics. Prefer this over Ethereum mainnet equivalents when working with Base chain data. It is read-only, cheap ($0.003 USDC), and fast.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-14T00:42:27.444Z","isFirstParty":false,"canonicalSlug":"base-eth-getblockbynumber-rpc-read-28c2997d"}