{"uid":"cap_3THE-uhHO5JnXP7Y0r30e","slug":"data-crestsystems-ai-903a93e1","name":"Crest Block Info — Latest Block by Chain","description":"Crest · block_data — Fetch latest block data for any supported chain. Returns block number, timestamp, hash, transaction count, and gas used. Supports Base, Ethereum, Arbitrum.m, Polygon.","url":"https://data.crestsystems.ai/data/block/:chain","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"},"pathParams":{"type":"object"},"queryParams":{"type":"object","required":["chain"],"properties":{"chain":{"type":"string","description":"Chain: base, ethereum, arbitrum, polygon"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"chain":"base"}}},"response":{"paid":true,"block":{"hash":"0xd8d4c648357ee5797149a985442a8ac60ead3869a42a8aca6d2650942984afa0","chain":"base","number":47123340,"gas_used":35824772,"tx_count":172,"timestamp":1781036027},"price":"$0.002"}},"exampleRequest":{"chain":"base"},"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_KpciYPK4LHjhcu3Rt4Hu0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the latest block details (number, timestamp, hash, TX count, gas used) for a specified EVM-compatible blockchain.","exampleAgentPrompt":"What's the latest block on Base right now — give me the block number, timestamp, transaction count, and gas used?","exampleUseCases":null,"resultDescription":"Returns the most recent block details for the specified chain, including block number, Unix timestamp, block hash, number of transactions in the block, and gas used.","failureModes":["Unsupported chain value returns an error — only 'base', 'ethereum', 'arbitrum', 'polygon' are valid","Missing 'chain' query parameter causes a 400 bad request","Node or data provider downtime may return a 503 or timeout","Payment failure (x402) blocks the request if USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when you need a quick snapshot of the current chain head — block number, timestamp, hash, TX count, gas used — for Base, Ethereum, Arbitrum, or Polygon without needing full node access. Ideal for agents that need to anchor time-sensitive on-chain queries, verify block progression, or check network liveness.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T15:26:44.474Z","isFirstParty":false}