{"uid":"cap_0MpXfGKvj8Ja0s-VxmVba","slug":"joe-evm-rpc-block-number-324a9798","name":"Joe EVM RPC – Block Number","description":"Live Base and Ethereum RPC for AI agents: block tip, balances, transactions, and ENS. $0.001 USDC per call on Base.","url":"https://joe-evm-rpc.marnick-yezo.workers.dev/api/chain/block-number","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"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"pathParams":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","properties":{"network":{"enum":["base","ethereum"],"type":"string","default":"base","description":"EVM network. Default base."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{"result":"0x12a05f2"},"meta":{"rpc":"https://mainnet.base.org","network":"base","endpoint":"/api/chain/block-number","cost_usdc":"0.001","request_id":"00000000abcdef01"}}},"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_2NJZj17tzofclG43TbHL_","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 (chain tip) for Base or Ethereum mainnet via a pay-per-call RPC proxy.","exampleAgentPrompt":"What's the current block number on Base mainnet right now?","exampleUseCases":[{"title":"Confirm chain liveness before transaction","prompt":"Before I submit my transaction, can you check what the current block number is on Base so I know the chain is live and moving?"},{"title":"Monitor Ethereum block progress","prompt":"Keep an eye on the Ethereum block number for me — what block are we at right now on Ethereum mainnet?"},{"title":"Build block-height triggered automation","prompt":"I need to know the current block height on Base to decide whether my on-chain event has been included yet — can you grab the latest block number?"}],"resultDescription":"A JSON response containing the current block number as a hex string (e.g. '0x12a05f2'), along with metadata: the RPC endpoint used, the network queried (base or ethereum), the cost in USDC ($0.001), and a unique request ID for tracing.","failureModes":["Invalid or unsupported network value returns an error (only 'base' and 'ethereum' are accepted)","Network RPC unavailability causes a 5xx or timeout response","x402 payment failure (insufficient balance or wallet misconfiguration) results in a 402 Payment Required error before the RPC call is made","Rate limits or worker capacity issues may cause transient 429 or 503 errors"],"whenToPreferThis":"Choose this endpoint when your agent needs to know the current block tip on Base or Ethereum mainnet with minimal setup — it wraps the raw RPC call behind a simple REST GET with x402 micropayment, so there's no need to manage provider API keys or configure a full Web3 connection. Prefer it for lightweight chain-height polling, liveness checks, and block-based triggers in AI agent workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:36:46.333Z","isFirstParty":false}