{"uid":"cap_lqVcQ7ZpufSrN0rL8l8Tu","slug":"evm-chain-current-block-height-d95e7dac","name":"EVM Chain Current Block Height","description":"Current block height on any of ten EVM chains — Genesis402 / UnyKorn Operator Network","url":"https://twin.unykorn.org/evm-block-number?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"params":{"type":"object","properties":{"chain":{"enum":["ethereum","base","polygon","arbitrum","optimism","bsc","avalanche","gnosis","linea","scroll"],"type":"string"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"type":"evm-block-number","receipt":{"tx_hash":"0x<64hex>","amount_usd":0.001,"receipt_id":"g402-<16hex>"},"generated_at":"<iso8601>"}},"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_TURX9zSaW3pR_ghgVtuYL","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 current block number for any of ten supported EVM-compatible blockchains via a pay-per-call endpoint.","exampleAgentPrompt":"What's the current block height on the Base chain right now?","exampleUseCases":[{"title":"Blockchain sync status check","prompt":"Can you tell me what block Ethereum is currently on? I need to verify my node is synced."},{"title":"Cross-chain block comparison","prompt":"Fetch the current block numbers for both Arbitrum and Optimism so I can compare how far along each chain is."},{"title":"DeFi automation trigger","prompt":"What's the latest block on Polygon? I need it to calculate how many blocks have passed since block 55000000."}],"resultDescription":"Returns a JSON object with ok status, the type field 'evm-block-number', a receipt object containing a transaction hash, USD cost, and receipt ID, and a generated_at ISO8601 timestamp. The current block number for the requested chain is included in the response payload.","failureModes":["Invalid chain name not in the supported enum returns an error","Network timeout if the upstream RPC node is unavailable","Payment failure if insufficient USDC balance for the x402 micro-payment","Malformed request body missing the params.chain field"],"whenToPreferThis":"Use this endpoint when you need the current block height for any of ten major EVM chains (Ethereum, Base, Polygon, Arbitrum, Optimism, BSC, Avalanche, Gnosis, Linea, Scroll) in a pay-per-call model without managing your own RPC infrastructure. Prefer this over running your own node when cost-per-call ($0.001 USDC) is preferable to infrastructure overhead, or when you need multi-chain coverage from a single API surface.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T18:55:54.464Z","isFirstParty":false,"canonicalSlug":"evm-chain-current-block-height-d95e7dac"}