{"uid":"cap_FtLzqDC-nSbjvtwtyB-Tp","slug":"axiomworks-evm-block-number-chain-tip-d6ef0a68","name":"Axiomworks EVM Block Number & Chain Tip","description":"Latest block height (chain tip) plus safe/finalized heights and head age in seconds, via eth_blockNumber/eth_getBlockByNumber. Base/Ethereum/Arbitrum/Optimism/Polygon. Example: {chain:\"base\"}. $0.001.","url":"https://api.axiomworks.co.uk/chain/block-number?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","arbitrum","optimism","polygon"],"type":"string","description":"EVM chain (default base)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"safe":{"type":["number","null"]},"block":{"type":"number"},"finalized":{"type":["number","null"]},"head_age_s":{"type":"number"}}}}}}},"responseSchema":{"type":"json","example":{"safe":53552055,"block":53552082,"chain":"base","source":"eth_getBlockByNumber","chain_id":8453,"finalized":53551667,"timestamp":"2026-11-05T15:45:11.000Z","head_age_s":0}},"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":"down","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_xzX0YI0FCDAgYydA4iLQa","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":"Returns the latest, safe, and finalized block heights plus head age in seconds for Base, Ethereum, Arbitrum, Optimism, or Polygon via eth_blockNumber/eth_getBlockByNumber.","exampleAgentPrompt":"What's the current block height on Base, and how fresh is the chain tip — is it up to date?","exampleUseCases":[{"title":"Pre-transaction chain sync check","prompt":"Before I submit my transaction, can you check the latest block number on Ethereum and tell me how old the chain head is in seconds?"},{"title":"DeFi app liveness monitoring","prompt":"Check the current block height and head age on Arbitrum — I want to know if the node is live and up to date."},{"title":"Cross-chain block height comparison","prompt":"What are the latest block numbers on Base and Optimism right now, including their finalized and safe heights?"}],"resultDescription":"A JSON object containing the latest block number, safe block number, finalized block number, chain ID, chain name, the data source (eth_getBlockByNumber), the block timestamp in ISO 8601, and head_age_s (how many seconds have elapsed since the latest block was produced).","failureModes":["Unsupported chain value returns an error — only base, ethereum, arbitrum, optimism, polygon are accepted","Network or RPC node outage may cause timeout or 5xx error","Payment of $0.001 USDC required; missing or invalid x402 payment returns 402"],"whenToPreferThis":"Use this endpoint when you need a lightweight, real-time snapshot of the current EVM chain tip — specifically the latest, safe, and finalized block heights along with head age — without needing full node infrastructure. Prefer it over a full network-info call when you only need block height data and want to minimize cost. It is ideal for pre-transaction checks, liveness monitoring, and block-indexed queries across Base, Ethereum, Arbitrum, Optimism, or Polygon.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T02:27:45.160Z","isFirstParty":false,"canonicalSlug":"axiomworks-evm-block-number-chain-tip-d6ef0a68"}