{"uid":"cap_6fmoHMA3dR2UDiboGqJMA","slug":"riley-craig-x402-agent-store-chain-gas-price-lookup-7731077b","name":"Riley Craig x402 Agent Store — Chain Gas Price Lookup","description":"Live network gas prices (slow / average / fast, in gwei) for any chain — the pre-transaction read every trading, sniping, and settlement agent makes before sending a tx to size the fee. Across Base, Ethereum, Optimism, Arbitrum, Polygon, Gnosis. Free upstream (Blockscout); one paid call instead of running your own RPC.","url":"https://x402-agent-store.rileycraig14.workers.dev/chain/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"],"type":"string"},"queryParams":{"type":"object","properties":{"chain":{"type":"string","description":"base|ethereum|optimism|arbitrum|polygon|gnosis (default ethereum)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"fast":{"type":"number"},"slow":{"type":"number"},"average":{"type":"number"}}}}}}},"responseSchema":{"type":"json","example":{"fast":0.71,"slow":0.42,"unit":"gwei","chain":"ethereum","average":0.55}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.09","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SBS2Icvy0UsKpQUrg6nyK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","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 (fast, average, slow) in gwei for a specified EVM blockchain network, payable per-call in USDC via x402.","exampleAgentPrompt":"What are the current gas prices on Base — give me fast, average, and slow gwei estimates so I can decide when to submit my transaction.","exampleUseCases":null,"resultDescription":"A JSON object with numeric gas price values for fast, average, and slow transaction speeds in gwei, plus the chain name and unit label. Example: {fast: 0.71, average: 0.55, slow: 0.42, unit: 'gwei', chain: 'ethereum'}.","failureModes":["Unsupported chain name returns error or default fallback to ethereum","Network congestion or upstream RPC unavailability may cause stale or missing data","Missing 'chain' query param defaults to ethereum — agent must be aware of this default","Payment failure via x402 (insufficient USDC balance) blocks the call entirely"],"whenToPreferThis":"Use this endpoint when an AI agent needs real-time EVM gas price data across multiple chains (Base, Ethereum, Optimism, Arbitrum, Polygon, Gnosis) without managing API keys or subscriptions. Ideal for autonomous agents that pay per-call in USDC via x402 and need lightweight, no-signup gas oracle access before executing on-chain transactions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:43:26.151Z","isFirstParty":false}