{"uid":"cap_cb5-JiLmCNHNHoXlx0kA_","slug":"chainread-block-info-77b3be1c","name":"ChainRead Block Info","description":"Cheap EVM read utilities for AI agents on Base and Ethereum mainnet: gas and fees, blocks, balances, ERC-20 metadata, contract inspection, transaction status, ENS/Basename resolution, bulk balances. No API key: pay USDC on Base per call via x402.","url":"https://chainread.imac2014ville.workers.dev/block?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"],"type":"string"},"queryParams":{"type":"object","properties":{"chain":{"enum":["base","ethereum"],"type":"string","description":"Chain to read (default base)"},"number":{"type":"string","description":"Block number (decimal or 0x hex) or latest (default latest)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"hash":"0xabc…","chain":"base","number":41000000,"txCount":118,"ageSeconds":1,"baseFeeGwei":0.0053,"gasUtilizationPct":22.4}},"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_SzzNG09kniSea4ttUKLy7","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":"Fetch block metadata (hash, transaction count, age, base fee, gas utilization) for a specific or latest block on Base or Ethereum mainnet","exampleAgentPrompt":"What does the latest block on Base look like — how many transactions, what's the base fee in gwei, and how old is it?","exampleUseCases":[{"title":"Monitor Base network congestion","prompt":"Check the latest block on Base and tell me the gas utilization percentage and base fee — I want to know if the network is congested right now."},{"title":"Verify Ethereum block details","prompt":"Look up block number 19000000 on Ethereum mainnet and give me the block hash, transaction count, and base fee."},{"title":"Real-time block age check","prompt":"What is the age in seconds of the most recent block on Base? I need to know if block production is healthy."}],"resultDescription":"A JSON object with ok status, block hash, chain name, block number, transaction count, block age in seconds, base fee in gwei, and gas utilization percentage.","failureModes":["Invalid block number format returns an error","Block number not yet mined returns not-found error","Unsupported chain value (not 'base' or 'ethereum') returns validation error","Payment failure via x402 if USDC balance is insufficient","Network timeout if underlying RPC is slow"],"whenToPreferThis":"Use this endpoint when you need lightweight, cheap ($0.001 USDC) on-demand block metadata for Base or Ethereum mainnet without managing your own RPC infrastructure or API keys. Ideal for agents that need to check current gas conditions, verify block finality, or monitor chain activity in real time.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T12:36:49.665Z","isFirstParty":false,"canonicalSlug":"chainread-block-info-77b3be1c"}