{"uid":"cap_0zUoJFKUwghGR4k31GRH8","slug":"saylor-innovations-data-desk-evm-block-lookup-efe5cbd7","name":"Saylor Innovations Data Desk – EVM Block Lookup","description":"EVM block lookup for 16 chains by number, hash or tag: header, gas used, base fee, miner, size, transaction count and the transaction hashes.","url":"https://saylorinnovations.com/api/chain/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","required":["chain"],"properties":{"block":{"type":"string","description":"optional block number (decimal or 0x hex), 0x block hash, or latest, safe, finalized (default latest)"},"chain":{"type":"string","description":"chain name (ethereum, base, arbitrum, optimism, polygon, bsc, avalanche, gnosis, linea, scroll, mantle, blast, sonic, celo, berachain, unichain) or chain id"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["chain","chain_id","block_number","hash","timestamp","tx_count","source"],"properties":{"hash":{"type":"string","description":"block hash"},"note":{"description":"plain-language reading of the result"},"chain":{"type":"string","description":"the chain name that was queried"},"miner":{"type":["string","null"],"description":"fee recipient or validator address"},"source":{"type":"string","description":"where the data was read from"},"chain_id":{"type":"number","description":"EIP-155 chain id of that network"},"gas_used":{"type":"number","description":"gas used by the block"},"tx_count":{"type":"number","description":"transactions in the block"},"gas_limit":{"type":"number","description":"block gas limit"},"timestamp":{"type":"string","description":"block time in UTC"},"size_bytes":{"type":["number","null"],"description":"block size in bytes"},"age_seconds":{"type":"number","description":"seconds since the block was produced"},"parent_hash":{"type":"string","description":"hash of the previous block"},"block_number":{"type":"number","description":"block height"},"fullness_pct":{"type":["number","null"],"description":"share of the gas limit used"},"transactions":{"type":["array","null"],"description":"first 100 transaction hashes"},"base_fee_gwei":{"type":["number","null"],"description":"base fee per gas in gwei"},"withdrawals_count":{"type":["number","null"],"description":"validator withdrawals in the block"},"transactions_truncated":{"type":"boolean","description":"true when more than 100 transactions exist"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_B_6tVrD2_DYJTavw-2Ypo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches block metadata (header, gas, base fee, miner, size, tx count, tx hashes) for a specific block on any of 16 supported EVM chains by number, hash, or tag.","exampleAgentPrompt":"What were the gas used, transaction count, and miner address for block 20000000 on Ethereum?","exampleUseCases":[{"title":"Verify block finality on Base","prompt":"Check the latest finalized block on Base — give me the block number, timestamp, and how many transactions it included."},{"title":"Audit specific block by hash","prompt":"I have this block hash 0xabc123...def on Arbitrum — can you look it up and tell me the block number, gas used, and who the miner was?"},{"title":"Monitor gas usage on Polygon","prompt":"Pull the latest block on Polygon and tell me how full it was — gas used, gas limit, and the fullness percentage."}],"resultDescription":"A JSON object containing: chain name and chain ID, block number, block hash, parent hash, timestamp (UTC), age in seconds, transaction count, list of transaction hashes, gas used, gas limit, base fee per gas, block size in bytes, fullness percentage, miner/validator address, and the data source. May include a plain-language note field summarizing the result.","failureModes":["Invalid or unsupported chain name returns an error","Block number or hash not found on the specified chain","Malformed block hash (wrong length or format) returns a validation error","Network or RPC timeout for a specific chain","Missing required 'chain' query parameter returns a 400 error"],"whenToPreferThis":"Choose this endpoint when you need structured EVM block metadata across multiple chains without managing your own RPC connections. It supports 16 chains in a single unified API, covers lookup by number, hash, or tag (latest/safe/finalized), and returns rich metadata including gas analytics and tx hashes — ideal for agents that need cross-chain block inspection without chain-specific RPC configuration.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-01T00:40:20.355Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-data-desk-evm-block-lookup-efe5cbd7"}