{"uid":"cap_mjp7Ygp6TpKRlZy3lRpSI","slug":"basegas-oracle-x402-1977ed80","name":"BaseGas Oracle x402","description":"Real-Time EIP-1559 Gas Estimation and Fee History Oracle for Base Mainnet, payable via x402.","url":"https://baseshield-x402-ojil.vercel.app/v1/estimate","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","body","bodyType"],"properties":{"body":{"type":"object","title":"EstimateRequest","properties":{"speed":{"enum":["slow","standard","fast","instant"],"type":"string","title":"Speed","default":"standard","description":"Transaction urgency."}}},"type":{"const":"http"},"method":{"const":"POST"},"bodyType":{"const":"json"}},"additionalProperties":false},"output":{"type":"object","properties":{"type":{"const":"json"},"example":{"type":"object","required":["success","network","source","selected_tier","timestamp"],"properties":{"source":{"type":"string"},"network":{"type":"string"},"success":{"type":"boolean"},"timestamp":{"type":"string","format":"date-time"},"base_fee_gwei":{"type":"number"},"selected_tier":{"enum":["slow","standard","fast","instant"],"type":"string"},"congestion_level":{"type":"string"},"blob_base_fee_gwei":{"type":["number","null"]},"max_fee_per_gas_gwei":{"type":"number"},"max_priority_fee_per_gas_gwei":{"type":"number"}}}}}}},"responseSchema":{"type":"object","properties":{"network":{"type":"string"},"base_fee_gwei":{"type":"number"},"suggested_max_fee_gwei":{"type":"number"},"suggested_priority_fee_gwei":{"type":"number"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jDk1zfubrd9J-05jNZ-Pk","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns real-time EIP-1559 gas fee estimates (base fee, max fee, priority fee) for Base Mainnet at a chosen transaction speed tier, payable via x402.","exampleAgentPrompt":"What are the current EIP-1559 gas fees on Base Mainnet for a fast transaction — give me the base fee, suggested max fee, and priority fee in gwei?","exampleUseCases":[{"title":"Optimizing DeFi transaction cost","prompt":"Before I submit this swap on Base, what's the suggested max fee and priority fee for a standard-speed transaction right now so I don't overpay on gas?"},{"title":"Instant transaction time-sensitive trade","prompt":"I need to get this transaction confirmed as fast as possible on Base Mainnet — what max fee and priority fee should I set for an instant submission?"},{"title":"Budget-conscious slow transaction","prompt":"I'm not in a rush — what are the current gas fee recommendations for a slow transaction on Base so I can minimize costs?"}],"resultDescription":"A JSON object containing the network name (e.g. 'base-mainnet'), the current base fee in gwei, the suggested EIP-1559 max fee in gwei, and the suggested priority fee (miner tip) in gwei for the requested speed tier.","failureModes":["Invalid speed enum value returns a 400 error","Payment not completed via x402 returns a 402 Payment Required response","Base Mainnet RPC downtime may result in stale or unavailable fee data","Network congestion spikes may cause fee estimates to be outdated by the time the transaction is submitted"],"whenToPreferThis":"Choose this endpoint when you need real-time, tiered EIP-1559 gas fee estimates specifically for Base Mainnet and want a simple speed-based abstraction (slow/standard/fast/instant) rather than computing raw fee parameters yourself. Prefer it over generic Ethereum gas oracles when building Base-specific dApps, wallets, or trading bots that require accurate L2 fee data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-18T06:34:52.508Z","isFirstParty":false}