{"uid":"cap_Ys0X-ucb_yddux6auOOx3","slug":"ethereum-mainnet-gas-price-oracle-1081b676","name":"Ethereum Mainnet Gas Price Oracle","description":"Live Ethereum mainnet gas pricing from PublicNode RPC: next-block base fee, 25/50/75th-percentile priority tips over the last 5 blocks (slow/std/fast), and a ready-to-sign recommendation (max_fee = 2*base + tip). Query: ?speed=slow|std|fast (default std). All values are decimal gwei, no hex parsing needed. 30s cache.","url":"https://x402-datashop-production.up.railway.app/v1/eth/gas","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"speed":{"enum":["slow","std","fast"],"type":"string","default":"std","description":"Which priority-fee percentile to recommend (25/50/75)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_8R9lYiIRPqmiIG3VpSqG1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns live Ethereum mainnet gas pricing including next-block base fee, percentile priority tips (slow/std/fast), and a ready-to-sign max_fee recommendation, all in decimal gwei.","exampleAgentPrompt":"What's the current Ethereum gas price for a standard-speed transaction — give me the base fee, priority tip, and the max fee I should set when signing?","exampleUseCases":null,"resultDescription":"Returns decimal gwei values for: the next-block base fee, the 25/50/75th-percentile priority tips (labeled slow/std/fast), and a ready-to-sign max_fee recommendation (calculated as 2*base_fee + tip). Values are cached for 30 seconds. No hex parsing needed.","failureModes":["PublicNode RPC is unreachable — upstream 502 or timeout","Invalid speed parameter value returns 400 or defaults to std","Cache stale if Ethereum network conditions change rapidly within 30s window","No historical data available — only latest block window (last 5 blocks)"],"whenToPreferThis":"Use this endpoint when you need real-time EIP-1559-compatible Ethereum gas parameters in decimal gwei without doing any hex decoding, especially when you need a ready-to-sign max_fee recommendation. Prefer this over raw RPC calls when simplicity and a cached, pre-computed recommendation are more important than absolute freshness.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:47:13.442Z","isFirstParty":false}