{"uid":"cap_eIAKUw_-c1wJK5qfqLAm-","slug":"base-network-info-5ee0a4c5","name":"base-network-info","description":"Base mainnet network info in one call: chain ID, block height, and current gas price (wei and gwei).","url":"https://x402.agentindex.world/base/network-info?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","bodyType","body"],"properties":{"body":{"type":"object","title":"NetworkInfoInput","properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","title":"NetworkInfoOutput","required":["chain_id","block_number","gas_price_wei","gas_price_gwei"],"properties":{"chain_id":{"type":"integer","title":"Chain Id"},"block_number":{"type":"integer","title":"Block Number"},"gas_price_wei":{"type":"integer","title":"Gas Price Wei"},"gas_price_gwei":{"type":"number","title":"Gas Price Gwei"}}}}}}},"responseSchema":null,"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_XGqRlPyrU2k8exvOv2iaA","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 Base mainnet network info in a single call: chain ID, current block height, and gas price in both wei and gwei.","exampleAgentPrompt":"What's the current gas price on Base mainnet right now, and what block are we at?","exampleUseCases":[{"title":"Pre-flight check before submitting transaction","prompt":"Before I send this transaction on Base, can you check the current gas price in gwei and the latest block number so I know what to expect?"},{"title":"Gas fee monitoring for cost optimization","prompt":"What's the gas price on Base mainnet right now in gwei? I want to decide if it's cheap enough to send my batch of transactions."},{"title":"Verify Base chain ID for wallet config","prompt":"I'm configuring a new wallet for Base — can you confirm the chain ID, current block height, and gas price so I can make sure everything looks right?"}],"resultDescription":"A JSON object with four fields: chain_id (integer, Base mainnet chain ID = 8453), block_number (integer, current block height), gas_price_wei (integer, current gas price in wei), and gas_price_gwei (float, current gas price in gwei). All values reflect the live state of the Base mainnet at the time of the call.","failureModes":["RPC node unavailable — upstream Base node may be unreachable, returning a 5xx error","Stale data — if the underlying node is syncing, block_number may lag behind tip","Payment failure — x402 payment of $0.001 USDC not processed correctly, returns 402","Rate limiting — too many requests in a short window may result in 429 or payment rejection"],"whenToPreferThis":"Choose this endpoint when you need a quick, single-call snapshot of Base mainnet state — chain ID, block height, and gas price — without setting up your own RPC node or paying for a dedicated provider subscription. Ideal for agents that need to make gas estimates, verify network identity, or decide whether conditions are right to submit a transaction, at a low per-call cost of $0.001 USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:31:30.265Z","isFirstParty":false,"canonicalSlug":"base-network-info-5ee0a4c5"}