{"uid":"cap_3nBd7n0r8pdSBIoGxYmh7","slug":"joe-evm-rpc-block-by-number-44cdec69","name":"Joe EVM RPC – Block by 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/%7Bnumber%7D","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","required":["number"],"properties":{"number":{"type":"string","description":"Block number, hex, or latest|earliest|safe|finalized"},"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":{"hash":"0xabc","number":"0x1","gasUsed":"0x1","gasLimit":"0x1","timestamp":"0x0","parentHash":"0xdef","transactions":["0x1"]}},"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_LJybCSgftxUwU8J3ysJeM","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":"Fetches details of a specific EVM block (Base or Ethereum) by block number, hex, or tag such as 'latest'.","exampleAgentPrompt":"What are the details of the latest block on Base — hash, timestamp, gas used, and the list of transactions?","exampleUseCases":[{"title":"Monitor live chain tip on Base","prompt":"Keep checking the latest block on Base and tell me the current block number and timestamp so I know the chain is advancing."},{"title":"Audit specific Ethereum block","prompt":"Pull up the details for Ethereum block 19500000 — I need the block hash, gas used, gas limit, and how many transactions were included."},{"title":"Verify finalized block state","prompt":"What is the most recent finalized block on Base? Give me its hash and timestamp so I can confirm finality for a settlement check."}],"resultDescription":"Returns a JSON object with a `data.result` block object containing the block hash, hex-encoded block number, gas used, gas limit, Unix timestamp, parent hash, and an array of transaction hashes included in the block, plus metadata about the network, RPC endpoint used, cost in USDC, and a unique request ID.","failureModes":["Invalid block number format returns an error or empty result","Requesting a block number beyond the current chain tip may return null or an error","Unsupported network value (not 'base' or 'ethereum') causes a validation error","Upstream RPC node downtime causes a 5xx or timeout response","Insufficient USDC payment (x402 protocol) causes a 402 Payment Required rejection"],"whenToPreferThis":"Choose this endpoint when an AI agent needs lightweight, pay-per-call access to EVM block data on Base or Ethereum without managing RPC keys or infrastructure. It is especially useful for agents operating with x402 micropayment flows on Base, where the $0.001 USDC cost per call is settled programmatically. Prefer it over self-hosted RPC when minimal setup and on-chain payment are priorities.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:33:29.921Z","isFirstParty":false}