{"uid":"cap_X4gFbmIRq12Rckz5FSzBb","slug":"skills-onesource-io-74da81ee","name":"Ethereum Block Number (eth_blockNumber)","description":"Latest Ethereum block height - current chain tip via eth_blockNumber","url":"https://skills.onesource.io/api/chain/block-number","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"network":{"enum":["ethereum","sepolia","avax","megaeth","megaeth-testnet","base"],"type":"string","default":"ethereum"}}},"responseSchema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","required":["result"],"properties":{"result":{"type":"string"}}},"meta":{"type":"object","required":["endpoint","request_id"],"properties":{"endpoint":{"type":"string"},"request_id":{"type":"string"}}}}},"example":{"request":{"network":"ethereum"},"response":{"data":{"result":"0x1809361"},"meta":{"endpoint":"/api/chain/block-number","request_id":"ad52e003a543a154"}}},"exampleRequest":{"network":"ethereum"},"tags":["x402"],"displayCostAmount":"0.001","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.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__x5_8tuGaj2ZlBqFEaMpt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the latest Ethereum block height (chain tip) for a specified network via eth_blockNumber","exampleAgentPrompt":"What's the current block number on the Ethereum mainnet right now?","exampleUseCases":null,"resultDescription":"Returns a hex-encoded block number (e.g. '0x17caafa') representing the current chain tip height for the requested network, along with endpoint metadata and a request ID.","failureModes":["Unsupported network value returns validation error","RPC node temporarily unavailable returns 5xx error","Rate limiting or payment failure returns 402/429","Malformed query parameter returns 400 bad request"],"whenToPreferThis":"Use this endpoint when you need the current Ethereum (or EVM-compatible) block height in real time — for example, to check chain sync status, compute block lag, anchor timestamps, or verify if a transaction has been mined. Prefer this over general blockchain explorers when you need a lightweight, programmatic, pay-per-call RPC-backed result without API key management.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:42:09.354Z","isFirstParty":false}