{"uid":"cap_M1b53L7dVacfwbmpD59Xc","slug":"xerxes-eth-getblockbynumber-ethereum-block-lookup-1bf4f530","name":"Xerxes eth_getBlockByNumber – Ethereum Block Lookup","description":"Returns information about a block by block number. Includes block hash, timestamp, transactions, gas used, etc. Query: block (a block number, or 'latest').","url":"https://ari001.tailb4ac3a.ts.net/v1/ventures/ethereum_rpc_api/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","pattern":"^(latest|[0-9]{1,12})$","description":"a block number, or 'latest'"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["ok","service"],"properties":{"ok":{"type":"boolean"},"chain":{"type":"string"},"error":{"type":"string","description":"present when ok is false"},"method":{"type":"string"},"result":{"type":"object","description":"the node's JSON-RPC object, as returned"},"service":{"type":"string"}}}}}}},"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_wWUxno06IB4kznkhd0kNo","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":"Returns full details of an Ethereum mainnet block by block number (or 'latest'), including hash, timestamp, transactions, and gas data.","exampleAgentPrompt":"What were the details of Ethereum block 19000000 — hash, timestamp, gas used, and how many transactions were in it?","exampleUseCases":[{"title":"Audit transactions at a specific block","prompt":"Pull up the full details of Ethereum block 18500000 for me — I need the block hash, timestamp, and the list of transactions that were included."},{"title":"Check the latest block on Ethereum","prompt":"What does the latest Ethereum block look like right now? Give me the block number, timestamp, gas used, and hash."},{"title":"Verify block timing for a historical event","prompt":"When exactly was Ethereum block 15537393 mined? I need the timestamp and gas used to cross-reference with a transaction I'm auditing."}],"resultDescription":"Returns the Ethereum node's JSON-RPC result object for the requested block, including block hash, parent hash, miner address, timestamp, gas limit, gas used, transaction array, and other standard block fields. Also includes metadata fields: ok (boolean), service name, and chain identifier.","failureModes":["Block number out of range or not yet mined returns an error or null result","Malformed block number (non-numeric, exceeds 12 digits) rejected by input schema validation","'latest' keyword misspelled returns a validation error","Node unavailability or timeout returns ok: false with an error message","Very high block numbers (future blocks) return null result"],"whenToPreferThis":"Use this endpoint when you need comprehensive block-level data from Ethereum mainnet — including hash, timestamp, gas, and full transaction list — for a specific block number or the latest block. Prefer this over balance or contract endpoints when the query is about block metadata rather than account or token state.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T00:53:43.204Z","isFirstParty":false,"canonicalSlug":"xerxes-eth-getblockbynumber-ethereum-block-lookup-1bf4f530"}