{"uid":"cap_CqAYacqJbsNNCxvSZ9WWo","slug":"preflight-gas-price-check-eba1ea43","name":"PreFlight Gas Price Check","description":"Pre-trade & pre-sign checks for autonomous agents: everything an agent verifies BEFORE signing a transaction — token due diligence, calldata red-flag decoding, oracle freshness, holder concentration, bridge routing with executable calldata, cross-venue perp funding, gas and price sanity checks. EVM chains: Ethereum, Base, Arbitrum, Optimism.","url":"https://meryol-agenticmarket-x402.hf.space/gas/now/%7Bchain%7D","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"chain":"base","notes":["very_cheap_gas"],"cost_usd":{"swap":0.00022,"transfer":0.000026,"erc20_transfer":0.00008},"base_fee_gwei":0.003,"eth_price_usd":3120,"priority_fee_p50_gwei":0.001,"priority_fee_p90_gwei":0.002}},"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_hh4ST5AiI0Yjei7EUZzg_","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 gas prices, base fee, priority fee percentiles, ETH price, and estimated transaction costs for a specified EVM chain in real time.","exampleAgentPrompt":"Before I sign this swap, check the current gas prices on Base — tell me the base fee, median priority fee, and roughly how much a swap would cost in USD right now.","exampleUseCases":null,"resultDescription":"A JSON object containing the chain name, current base fee in gwei, p50 and p90 priority fees in gwei, current ETH price in USD, estimated USD costs for common transaction types (swap, ETH transfer, ERC-20 transfer), and qualitative gas notes like 'very_cheap_gas'.","failureModes":["Unsupported chain identifier returns an error or empty response","Chain temporarily unavailable or RPC node down returns 5xx","Stale gas data if the underlying oracle is lagging","Payment not accepted (x402 payment required) if USDC not provided","Rate limiting if called too frequently without valid payment"],"whenToPreferThis":"Use this endpoint when an autonomous agent needs to sanity-check gas costs and ETH price on a specific EVM chain (Ethereum, Base, Arbitrum, Optimism) before signing or submitting a transaction. Ideal for pre-trade workflows where you need real-time base fee, priority fee percentiles, and USD-denominated cost estimates for swaps or transfers in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-10T12:39:38.799Z","isFirstParty":false}