{"uid":"cap_iowrBUQ-y_xFUCmgDxh0X","slug":"otto-ai-base-gas-oracle-dcd883c1","name":"Otto AI Base Gas Oracle","description":"Base gas oracle from Otto's own RPC: current base fee (wei+gwei), legacy gas price, and slow/standard/fast EIP-1559 priority-fee tiers (p25/p50/p90 over the last 20 blocks) with a ready-to-sign maxFeePerGas per tier. Unlike the crowded gas shelf it PUBLISHES the formula, so every tier is reproducible from the response. Flat JSON, refreshed every minute. Base gas oracle, gas price, priority fee, EIP-1559, maxFeePerGas. $0.001 per call.","url":"https://x402.ottoai.services/gas-oracle","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"data":{"chain":"base","window":{"blocks":20,"congestion":"low","oldestBlock":50738536,"avgGasUsedRatio":0.1132},"chainId":8453,"formula":"priorityFee tiers = mean of the p25/p50/p90 priority-fee tips over the last 20 blocks (eth_feeHistory); suggested maxFeePerGas = baseFeePerGas*2 + tierTip.","gasPrice":{"wei":"6000000","gwei":0.006},"suggested":{"fast":{"maxFeePerGasWei":"12500000","maxFeePerGasGwei":0.0125,"maxPriorityFeePerGasGwei":0.0025},"slow":{"maxFeePerGasWei":"10000000","maxFeePerGasGwei":0.01,"maxPriorityFeePerGasGwei":0},"standard":{"maxFeePerGasWei":"10250000","maxFeePerGasGwei":0.01025,"maxPriorityFeePerGasGwei":0.00025}},"generatedAt":"2026-09-01T12:01:00.000Z","baseFeePerGas":{"wei":"5000000","gwei":0.005},"priorityFeePerGas":{"fast":0.0025,"slow":0,"unit":"gwei","standard":0.00025}},"meta":{"degraded":false,"validUntil":"","generatedAt":"","stalenessSec":0},"status":"success"}},"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_xBqIN3wLU-Ts5Pk1IyyqW","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 current Base chain gas data including base fee, legacy gas price, and slow/standard/fast EIP-1559 priority-fee tiers with ready-to-sign maxFeePerGas values, refreshed every minute.","exampleAgentPrompt":"What are the current slow, standard, and fast gas fee recommendations on Base right now, including the maxFeePerGas I should use for each tier?","exampleUseCases":[{"title":"Pre-flight gas check before swap","prompt":"Before I submit this swap on Base, what maxFeePerGas and priority fee should I use to get it confirmed quickly without overpaying?"},{"title":"Monitor Base congestion for timing a transaction","prompt":"Is Base congested right now? Give me the current base fee and congestion level so I can decide whether to send my transaction now or wait."},{"title":"Build transaction with correct gas parameters","prompt":"I need the EIP-1559 gas parameters for a standard-speed transaction on Base — give me the maxFeePerGas and maxPriorityFeePerGas I should include."}],"resultDescription":"A flat JSON object containing: current baseFeePerGas in wei and gwei, legacy gasPrice, slow/standard/fast priority fee tiers (p25/p50/p90 over last 20 blocks) with maxFeePerGas and maxPriorityFeePerGas per tier in both wei and gwei, network congestion level, block window metadata, the reproducible formula used to compute tiers, and a generatedAt timestamp.","failureModes":["RPC degradation: meta.degraded=true with potentially stale data","Network unavailability: HTTP 5xx if Otto's RPC is unreachable","Stale data: stalenessSec field may indicate the data is older than expected","Payment failure: HTTP 402 if x402 payment is not provided or insufficient"],"whenToPreferThis":"Choose this endpoint when you need EIP-1559-ready gas parameters specifically for the Base chain with a transparent, reproducible formula. It is ideal for agents that need to sign and submit transactions on Base and want slow/standard/fast tiering without guesswork. Prefer it over generic gas APIs when you need the exact maxFeePerGas formula documented alongside the values, or when you want p25/p50/p90 percentile-based tiers rather than opaque heuristics.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:56:28.596Z","isFirstParty":false}