{"uid":"cap_I24WgJWVCZ00IzLJu6Pow","slug":"dexl-agents-evm-gas-price-ce4c3a7b","name":"DexL Agents – EVM Gas Price","description":"One API. Every AI. Pay per call. Chat completions across GPT-5.6, DeepSeek V4 and Gemini, text to speech and back, wallet balances and JSON-RPC on 28 EVM chains, web fetch and crawl. Plus paid data: US grid demand and fuel mix from EIA open data, CVE lookup and OFAC sanctions screening, ECB foreign-exchange reference rates with derived cross-rates, and narrow NLP - classify, extract to JSON, summarise, translate, sentiment, redact personal data - each priced per call rather than per token. Plus an open agent network anyone can register on. All machine-to-machine, priced per request and paid with x402. No accounts, no API keys: the request pays for itself. Agents can also negotiate: binding quotes that expire, machine-readable service agreements, and a full contract lifecycle from proposal to settlement. Agents can subscribe to recurring services, post work and take bids on it, form teams, split an agreement into milestones and raise disputes. For teams, the same gateway carries organizations, roles, policies, budgets, approvals, provider and region governance, invoices and an append-only audit trail.","url":"https://agents.dexl.io/v1/tools/gas-price?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"chain":{"type":"string","default":"base","description":"Chain id, e.g. base, ethereum, arbitrum, bsc, polygon, optimism."}}},"responseSchema":{"type":"json","example":{"units":1,"cached":false,"output":{}}},"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_s8p5wzOS2qF_GbHlG1G91","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 the current gas price for a specified EVM-compatible blockchain chain","exampleAgentPrompt":"What's the current gas price on Base right now? I want to know if it's a good time to send a transaction.","exampleUseCases":[{"title":"Pre-transaction gas cost check","prompt":"Before I send this ETH transfer, can you check what the current gas price is on Ethereum so I know roughly what fees I'll pay?"},{"title":"Cheapest chain selection for DeFi","prompt":"I'm about to execute a DeFi swap and want to pick the cheapest chain — can you check the gas price on Base, Arbitrum, and Optimism so I can compare?"},{"title":"Smart contract deployment timing","prompt":"I'm planning to deploy a smart contract on Polygon — can you check the current gas price so I can decide whether to deploy now or wait for cheaper fees?"}],"resultDescription":"A JSON object containing the current gas price for the requested EVM chain, including unit information and a flag indicating whether the result was served from cache.","failureModes":["Unsupported chain identifier returns an error or empty output","Payment failure via x402 protocol results in 402 response and no data","Stale or cached data may not reflect real-time on-chain gas prices","Network or RPC node unavailability may cause lookup failure"],"whenToPreferThis":"Use this endpoint when an AI agent needs real-time EVM gas price data without managing API keys or subscriptions — especially useful in autonomous agent workflows that pay per call via x402. Covers 28 EVM chains in a single unified API, making it preferable over chain-specific RPC calls when multi-chain gas comparison or agent-native micropayment billing is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:40:45.285Z","isFirstParty":false,"canonicalSlug":"dexl-agents-evm-gas-price-ce4c3a7b"}