{"uid":"cap_UiwkCEeZFft70pAoIR4eN","slug":"joe-evm-rpc-chain-network-info-0182dff2","name":"Joe EVM RPC – Chain Network Info","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/network-info","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":{"chain":{"ens":false,"name":"base","layer":2,"stack":"op-stack","indexed":false,"mempool":true,"chain_id":8453,"finality":"l1-batch","is_default":true,"native_currency":"ETH","avg_block_time_ms":2000,"stale_after_seconds":60},"stale":false,"network":"base","chain_id":"0x2105","gas_price":"0x5f5e100","net_version":"8453","block_number":"0x12a05f2","head_timestamp":1750000000,"head_age_seconds":2,"stale_after_seconds":60},"meta":{"rpc":"https://mainnet.base.org","network":"base","endpoint":"/api/chain/network-info","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_i6ECrKNRcUOLV5Se6olkF","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 live network metadata for Base or Ethereum: current block number, gas price, chain ID, block time, and staleness info.","exampleAgentPrompt":"What's the current block number and gas price on Base mainnet right now — is the node up to date?","exampleUseCases":[{"title":"Live block tip monitoring for Base","prompt":"Check the current block number on Base mainnet and tell me how many seconds old the latest block is — I want to know if the node is fresh."},{"title":"Gas price check before sending transaction","prompt":"What's the current gas price on Ethereum right now? I'm about to submit a transaction and need to know if it's reasonable."},{"title":"Chain health dashboard for AI agent","prompt":"Pull the latest network info for Base — chain ID, average block time, finality type, and whether the RPC is stale — so I can display it on my agent's status dashboard."}],"resultDescription":"Returns a JSON object with chain metadata including current block number (hex), gas price (hex), chain ID (hex and integer), network name, layer, stack type, average block time in ms, head timestamp, head age in seconds, staleness threshold, and whether the data is currently stale. Also includes meta fields: RPC URL used, endpoint path, cost in USDC, and a request ID.","failureModes":["Invalid network enum value (not 'base' or 'ethereum') returns 400 or validation error","Payment not included or insufficient USDC balance causes 402 Payment Required","Upstream RPC node unreachable causes 503 or timeout","Stale data returned if upstream is lagging — indicated by 'stale: true' in response","Rate limiting if too many requests are made in short succession"],"whenToPreferThis":"Use this endpoint when an AI agent needs live, authoritative chain-level metadata for Base or Ethereum — specifically block tip, gas price, and node freshness — without setting up a full node or managing RPC credentials. It is ideal for agents that need to confirm chain state before executing transactions, monitor network health, or display real-time blockchain status. Prefer it over raw public RPC calls when you want a metered, x402-compatible, pay-per-call interface that abstracts away RPC provider management.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:35:44.573Z","isFirstParty":false}