{"uid":"cap_up9jUfhXPZkvQiRxicbTB","slug":"chain-openverbs-com-evm-gas-conditions-74af12ba","name":"chain.openverbs.com EVM Gas Conditions","description":"Live gas conditions for an EVM chain: current gas price, the latest block's base fee (EIP-1559) and the suggested max priority fee — all in both wei and gwei. Ground truth an agent can't compute. Reads live on-chain data with automatic endpoint fallback.","url":"https://chain.openverbs.com/v1/gas","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":[],"properties":{"chain":{"enum":["ethereum","base","arbitrum","optimism","polygon"],"type":"string","description":"EVM chain to query. One of: ethereum, base, arbitrum, optimism, polygon. Default \"ethereum\"."}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"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_D8dcgPo3T0ji1GCDVm66Z","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 gas price, EIP-1559 base fee, and suggested max priority fee for a specified EVM chain in both wei and gwei.","exampleAgentPrompt":"What are the current gas conditions on Arbitrum — give me the base fee, gas price, and suggested priority fee in gwei right now?","exampleUseCases":[{"title":"Pre-transaction gas check","prompt":"Before I send this ETH transfer, can you check the current gas price and base fee on Ethereum so I know if it's a good time to submit?"},{"title":"DeFi bot fee optimization","prompt":"What's the current base fee and max priority fee on Polygon right now? I want to make sure my DEX trade goes through without overpaying."},{"title":"Multi-chain gas comparison","prompt":"Can you pull the current gas prices on Base and Optimism so I can compare which chain is cheaper to use for my transaction?"}],"resultDescription":"Returns live on-chain gas data for the requested EVM chain: current gas price, latest block base fee (EIP-1559), and suggested max priority fee — all expressed in both wei and gwei. Data is read directly from the chain with automatic RPC endpoint fallback for reliability.","failureModes":["Unsupported chain name returns a validation error","RPC endpoint downtime may cause delays even with fallback logic","Stale data if block production is slow on the target chain","Missing or malformed 'chain' field defaults to ethereum silently"],"whenToPreferThis":"Use this endpoint when you need authoritative, real-time EVM gas parameters that cannot be computed client-side — especially when preparing transactions with EIP-1559 fee fields, monitoring gas trends, or deciding whether to delay a transaction. Prefer this over static fee estimates or cached data when accuracy and freshness are critical.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:34:22.266Z","isFirstParty":false}