{"uid":"cap_LWTpoYXMBEO6w640G80uk","slug":"xerxes-ethereum-block-number-c2175170","name":"Xerxes Ethereum Block Number","description":"Returns the current block number of the Ethereum mainnet as a hex string.","url":"https://ari001.tailb4ac3a.ts.net/v1/ventures/ethereum_contract_abi_service/eth_blocknumber?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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["ok","service"],"properties":{"ok":{"type":"boolean"},"hex":{"type":["string","null"]},"chain":{"type":"string"},"error":{"type":"string","description":"present when ok is false"},"method":{"type":"string"},"result":{"type":"integer"},"service":{"type":"string"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.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_WGi-q3K7zfLwPku4Qs5mb","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 current block number of the Ethereum mainnet as a hex string via eth_blockNumber.","exampleAgentPrompt":"What is the current block number on Ethereum mainnet right now?","exampleUseCases":[{"title":"Anchor on-chain query to latest block","prompt":"Before I query the token balance of this wallet, what's the current Ethereum block number so I can pin the snapshot to the chain head?"},{"title":"Monitor Ethereum chain progress","prompt":"Keep checking the current Ethereum block number every 30 seconds and let me know once it passes block 20,000,000."},{"title":"Verify chain liveness before transaction","prompt":"I'm about to submit a transaction — can you first confirm what the current Ethereum mainnet block is so I know the RPC node is live and synced?"}],"resultDescription":"Returns a JSON object with an 'ok' boolean, the current block number as a hex string (hex field), a 'result' integer representing the block number, the 'chain' name, and the 'method' used. On failure, an 'error' string is included and 'ok' is false.","failureModes":["RPC node unavailable — ok: false with an error message","Network timeout resulting in no response","Malformed response from upstream Ethereum node","Unexpected non-hex value in the hex field"],"whenToPreferThis":"Use this endpoint when you need a quick, cheap lookup of the current Ethereum mainnet block height — for example to anchor a block-specific query, verify node liveness, or determine how far the chain has progressed. Prefer this over a full Ethereum node SDK when you just need the block number without managing your own infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T01:23:24.781Z","isFirstParty":false,"canonicalSlug":"xerxes-ethereum-block-number-c2175170"}