{"uid":"cap_Q4Q-vG5DkGC2kG9_gUMFN","slug":"x402node-evm-block-info-88276de1","name":"x402node EVM Block Info","description":"Block info on five EVM chains, latest by default or by number: timestamp, transaction count, gas used, base fee and sample transaction hashes. latest block, block number lookup, block timestamp, chain head, block explorer data Accepts payment on Base or Solana — either network works.","url":"https://api.x402node.dev/chain/block","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":{"type":"string","description":"ethereum, base (default), arbitrum, optimism, polygon"},"number":{"type":"string","description":"Optional block number, default latest"}}}},"additionalProperties":false}}},"responseSchema":null,"example":{"request":{"block":"latest","chain":"base"},"response":{"hash":"0x4f9f8567731d7195931c15db442c68b3336ea123e1613ec8b5f8bf18bbbd7f93","_hint":"x402 paid endpoints for AI agents — x402node.dev (utilities) · cn402.com (Chinese culture)","chain":"base","miner":"0x4200000000000000000000000000000000000011","number":47471425,"gasUsed":"31828706","txCount":210,"gasLimit":"400000000","timestamp":"2026-06-17T21:36:37.000Z","baseFeeGwei":0.005,"sampleTxHashes":["0xc0ecf90365bcd4b79621dabf64185c82e3d26e88eabd0e91a1aa1ffb186bf64d","0x29565792a191ef14e2c80b346a5b73ef3a7dc40cb556e70b77c0bf2d9b8cb7fe","0xb4d45aada78931ad64aa07f477deb6df7e6d88ed2ce922985590e74193dd4f3b"]}},"exampleRequest":{"block":"latest","chain":"base"},"tags":["x402"],"displayCostAmount":"0.004","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":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_J-n-ddnCcngkMz2t0ldRG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns block metadata (timestamp, transaction count, gas used, base fee, sample tx hashes) for the latest or a specific block number across five EVM chains","exampleAgentPrompt":"What are the details of the latest block on Base — give me the timestamp, transaction count, gas used, base fee, and a few sample transaction hashes.","exampleUseCases":null,"resultDescription":"Returns a JSON object containing the block number, timestamp, total transaction count, gas used, base fee in wei, and an array of sample transaction hashes for the requested block on the specified EVM chain.","failureModes":["Unsupported chain specified — returns error indicating valid chain options","Block number does not exist yet — returns error for future or out-of-range block","Payment not included or insufficient — 402 Payment Required response","Network/RPC timeout fetching block data — 5xx error","Invalid block number format — 400 Bad Request"],"whenToPreferThis":"Use this endpoint when you need on-chain block-level metadata (timestamp, gas stats, base fee, tx count) for any of the five supported EVM chains (Ethereum, Base, Arbitrum, Optimism, Polygon) — either the latest block or a historically specific one. Prefer this over a full block explorer when you only need summary block data without full transaction details.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:07:50.778Z","isFirstParty":false}