{"uid":"cap_mR2dwR9lpmJnWVJ7IEVkV","slug":"base-evm-gas-oracle-d0a6b6e9","name":"Base/EVM Gas Oracle","description":"Base/EVM gas oracle: base fee + priority-fee percentiles (slow/avg/fast) + next-block estimate. Onchain pay-per-call in USDC.","url":"https://build-4c941cab041172e9439ece2f.emblem.build/pub/tasks/x402-onchain/api/gas","method":"POST","headers":{},"bodySchema":null,"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_UpEEG3Oq8PcSp06G5Y-o0","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/EVM gas fees including base fee, priority-fee percentiles (slow/avg/fast), and a next-block estimate for transaction cost planning.","exampleAgentPrompt":"What are the current gas fees on Base right now — give me the slow, average, and fast priority fee tiers plus the next-block estimate so I can decide how to price my transaction.","exampleUseCases":[{"title":"Pre-transaction gas cost check","prompt":"Before I submit this Base transaction, can you check what the current gas fees look like — I want the slow, average, and fast tiers so I can pick the right priority fee?"},{"title":"DeFi bot fee optimization","prompt":"My trading bot is about to execute a swap on Base — what's the current base fee and fast priority fee percentile so it can set the optimal gas price without overpaying?"},{"title":"Gas spike monitoring alert","prompt":"Check the current gas oracle on Base and tell me if the base fee is unusually high right now compared to slow vs fast tiers — I want to know if this is a good time to transact or if I should wait."}],"resultDescription":"Returns current network gas data including the base fee, priority-fee percentiles across slow/average/fast tiers, and a projected next-block gas estimate — all in gwei or wei units suitable for constructing EVM transactions.","failureModes":["RPC node unavailability causing inability to fetch current block data","Network congestion causing stale or delayed fee estimates","Malformed request body returning 400 error","Payment failure (insufficient USDC or x402 payment not accepted) blocking API access","Timeout if Base RPC is slow to respond"],"whenToPreferThis":"Choose this endpoint when you need real-time EVM gas fee data specifically for Base or compatible EVM chains, especially when you want structured percentile tiers (slow/avg/fast) plus a next-block projection in a single call. Prefer this over generic RPC calls when you want a clean, agent-ready JSON response without raw eth_gasPrice parsing, and when pay-per-call USDC pricing is acceptable for low-volume or on-demand use.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:51:55.575Z","isFirstParty":false}