{"uid":"cap_1bFnbCP0Zt79carh0u_v5","slug":"meryol-payai-hf-space-d2bf1a29","name":"PayAI Gas Price Oracle","description":"Pre-broadcast gas check: base fee + p50/p90 priority fee in gwei from eth_feeHistory, plus USD cost per common tx type (native transfer, ERC-20 transfer, swap) at live ETH/USD. Size gas budgets or postpone txs under congestion. Never returns null costs — degraded upstreams are a free 502, not a paid empty answer. Chains: ethereum, base, arbitrum, optimism.","url":"https://meryol-payai.hf.space/gas/now/:chain?utm_source=zero.xyz","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"},"pathParams":{"type":"object","required":["chain"],"properties":{"chain":{"enum":["ethereum","base","arbitrum","optimism"],"type":"string"}}},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["base_fee_gwei","cost_usd"]}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","pathParams":{"chain":"ethereum"},"queryParams":{}}},"response":{"chain":"ethereum","notes":[],"cost_usd":{"swap":0.050323,"transfer":0.005871,"erc20_transfer":0.018172},"base_fee_gwei":0.126223,"eth_price_usd":1726.47,"priority_fee_p50_gwei":0.035709,"priority_fee_p90_gwei":1}},"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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_KP4Pkzh1x85v_DYNoJyhs","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a live gas snapshot for Ethereum-compatible chains including base fee, p50/p90 priority fees in gwei, and USD cost estimates for common transaction types using real-time ETH/USD pricing.","exampleAgentPrompt":"What are the current gas fees on Arbitrum — give me the base fee, p50 and p90 priority fees in gwei, and how much a swap would cost in USD right now?","exampleUseCases":null,"resultDescription":"Returns a live gas snapshot including the current base fee in gwei, p50 and p90 priority fee estimates from eth_feeHistory, and USD cost estimates for native transfers, ERC-20 transfers, and swaps, with ETH/USD rate from CoinGecko folded in.","failureModes":["Unsupported chain value returns a 400 or validation error","CoinGecko rate unavailable causes USD cost computation to fail","RPC node for the target chain is down or rate-limited, returning stale or empty data","Network congestion causes eth_feeHistory to return incomplete blocks"],"whenToPreferThis":"Use this endpoint when you need a live, actionable gas snapshot with USD cost context for a specific EVM chain (Ethereum, Base, Arbitrum, or Optimism) — especially when deciding whether to submit a transaction or sizing a gas budget. Prefer over static gas trackers when you need per-tx-type USD cost breakdowns and real-time ETH price folded in.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T00:40:22.154Z","isFirstParty":false,"canonicalSlug":"meryol-payai-hf-space-d2bf1a29"}