{"uid":"cap_dqs7jN9AEHpUSJgnS-Kow","slug":"basebrief-x402-base-chain-gas-oracle-beca6f99","name":"BaseBrief x402 – Base Chain Gas Oracle","description":"Gas, balances, token metadata and allowances for $0.004 per result.","url":"https://basebrief-x402.savannah-5966.chatgpt.site/api/v1/base/gas","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"required":{"type":"string"},"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"evidence":{"chain":"Base mainnet","chainId":8453,"blockNumber":"35123456","pointInTime":true},"limitations":["Point-in-time direct Base JSON-RPC evidence."]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_TUp4pyWewKEJyvCwr4SeA","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns real-time gas prices, wallet balances, token metadata, and ERC-20 allowances from the Base mainnet blockchain for $0.004 per call.","exampleAgentPrompt":"What's the current gas price on Base mainnet, and what's the ETH balance and USDC allowance for wallet 0xAbC...123 approved to the Uniswap router?","exampleUseCases":[{"title":"Pre-flight gas check before swap","prompt":"Before I submit this token swap on Base, can you check the current gas price and tell me if the network is congested right now?"},{"title":"DeFi allowance audit for a wallet","prompt":"Check whether my wallet 0xAbC...123 has already approved the Aave contract on Base to spend my USDC, and how much the allowance is."},{"title":"Real-time balance dashboard for agent","prompt":"Fetch the current ETH balance, USDC balance, and block number for address 0xDef...456 on Base mainnet so I can decide whether to execute my strategy."}],"resultDescription":"A JSON object anchored to a specific Base mainnet block containing: current gas price/base fee, wallet ETH and token balances, ERC-20 token metadata (name, symbol, decimals), approved allowances for specified spender contracts, and evidence fields (chainId 8453, blockNumber, pointInTime flag) confirming the data is a snapshot from a live Base JSON-RPC node.","failureModes":["Invalid or malformed wallet/contract address returns an error or empty result","Payment not received (x402 flow incomplete) results in 402 Payment Required response","Base RPC node temporarily unavailable returns a 503 or timeout","Querying a non-existent token contract returns null metadata","Rate limiting if too many concurrent calls without payment","Block reorganization edge cases may cause transient inconsistencies in pointInTime data"],"whenToPreferThis":"Choose this endpoint when an AI agent needs live, point-in-time Base mainnet state — gas prices, balances, or ERC-20 allowances — without setting up a full RPC node or Alchemy/Infura account. At $0.004/call it is cost-effective for sporadic lookups. Prefer it over generic Ethereum RPC providers when you specifically need Base L2 data with a pay-per-use x402 micropayment model and no API key management.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:38:35.468Z","isFirstParty":false}