{"uid":"cap_a9exQkLZm-6PVbF1ST5x9","slug":"base-eth-getblockbynumber-0664b019","name":"Base eth_getBlockByNumber","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://api.arysphere.com/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":"base","method":"eth_getBlockByNumber","result":{"hash":"0xea00d8455c460589a746efd2ddb95112df516d68f47f41c7247249b5519397d6","size":"0x14e2f","miner":"0x4200000000000000000000000000000000000011","nonce":"0x0000000000000000","number":"0x3245954","uncles":[],"gasUsed":"0x20543ad","mixHash":"0x1107a40b1f89981b57fd6f8e24717d0e76cf87525d041987514d3c139405a90f","gasLimit":"0x17d78400","extraData":"0x01000000640000000500000000004c4b40","logsBloom":"0x5ec0c56035693ee7c0495a12f60bfbb6b73dd4f1a02ea3711ae4529f3852ed90b33e8b48b46627a63646c0dfe0ceff9d4a3bbec7dd25e362afc19ee3edb7b708a641fed8847ba50edb87d43dd2a852b4d9430c075a6d1af815d3a39cdf7eff42bae2a0aadaab0cee3f66c9750d872e88c123401219742e","stateRoot":"0xe0df8779fdd9e7b3b0ebb0bf73314f53a093f0812eabfd8420d6537c9b5de8b4","timestamp":"0x6ad30f8b","difficulty":"0x0","parentHash":"0x1fd770bbc4aa41d486f43084897347279410637eb3233f2afa7c6eb4994c0655","sha3Uncles":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347","blobGasUsed":"0x49fdb0","withdrawals":[],"receiptsRoot":"0xdd340ae2e87543370b59c54eb67043fd0108ed319fef18f5357fee05a3d2e12d","requestsHash":"0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","transactions":["0xd0050c0481165f1b64e8be794aa79b503ba7718d10087982ccf6283477d54d66","0x30a89c4cf89346243822f98da080791feaf5b2b3e1128e530018a6060071ca53"],"baseFeePerGas":"0x4c4b40","excessBlobGas":"0x0","withdrawalsRoot":"0xbb0b3c9c1132167b3257e9f50c915d664fce551810ebb0fbfa883441b76ed426","transactionsRoot":"0xf59afdfe8e069e8e60a09c3069da7017829938e90e6cf8bf785bf33b9248fee5","parentBeaconBlockRoot":"0x62515d9866021870f7635c4a8e0ac37fb94e5ac70133aa8a0946a19ba7349239"},"service":"x402_chain_reads_v1.base_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_eTC6Me-wuREiaKGuDKLSR","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 a Base blockchain block by block number or 'latest' using eth_getBlockByNumber","exampleAgentPrompt":"Can you grab the latest block from the Base blockchain and show me its block number, timestamp, gas used, and miner address?","exampleUseCases":[{"title":"Monitor Base chain tip","prompt":"What's the most recent block on Base right now? I want to see the block number, timestamp, and how much gas was used."},{"title":"Audit historical Base block","prompt":"Fetch block number 26221240 on the Base blockchain for me — I need the hash, miner, gas limit, and base fee per gas."},{"title":"Check Base block finality","prompt":"I need to verify that Base block 0x18f1ab8 exists and get its parent hash and state root so I can confirm chain continuity."}],"resultDescription":"Returns a JSON object containing full block metadata for the requested Base block, including hash, number, miner, nonce, gas used, gas limit, timestamp, base fee per gas, blob gas used, state root, transactions root, receipts root, logs bloom, parent hash, withdrawals root, and parent beacon block root. The response also indicates the chain ('ethereum'), the method used ('eth_getBlockByNumber'), and a service identifier.","failureModes":["Invalid block number format returns an error or null result","Block number higher than current chain tip returns not-found or null","Malformed query parameter causes request rejection","Network or RPC node downtime causes 5xx error","Payment not provided or insufficient USDC results in 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need full block metadata from the Base L2 network by block number or the latest block. Prefer this over generic Ethereum mainnet block endpoints when your target chain is Base specifically. This endpoint is ideal for agents monitoring Base chain progress, verifying block finality, or extracting block-level on-chain data without running your own node.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T12:40:33.112Z","isFirstParty":false,"canonicalSlug":"base-eth-getblockbynumber-0664b019"}