{"uid":"cap_5NKKA8iPyieFkN_HcgS7X","slug":"vextorium-multi-chain-gas-price-comparator-5ebcd5f3","name":"Vextorium Multi-Chain Gas Price Comparator","description":"Gas price right now on Base, Ethereum, Arbitrum, Optimism and Polygon, with the estimated USD cost of a native transfer, an ERC-20 transfer and a swap on each, and the cheapest chain.","url":"https://api.vextorium.com/gas-comparar-pago?utm_source=zero.xyz","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":{"required":[],"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":["object","null"],"properties":{"nota":{"type":["string","null"]},"redes":{"type":["array","null"],"items":{"type":["null","object"],"properties":{"red":{"type":["null","string"]},"nativo":{"type":["null","string"]},"gas_gwei":{"type":["null","number"]},"swap_usd":{"type":["null","number"]},"envio_token_usd":{"type":["null","number"]},"transferencia_usd":{"type":["null","number"]}}}},"mas_barata_swap":{"type":["string","null"]},"precios_nativos_usd":{"type":["object","null"],"properties":{"eth":{"type":["number","null"]},"pol":{}}}}}}}}},"responseSchema":{"type":"json","example":{"nota":"En los L2 (Base, Arbitrum, Optimism) se suma una pequeña tarifa de datos a L1 que no se incluye aquí.","redes":[{"red":"base","nativo":"ETH","gas_gwei":0.006008,"swap_usd":0.00293,"envio_token_usd":0.00106,"transferencia_usd":0.00034},{"red":"ethereum","nativo":"ETH","gas_gwei":0.902926,"swap_usd":0.44,"envio_token_usd":0.15889,"transferencia_usd":0.05133},{"red":"arbitrum","nativo":"ETH","gas_gwei":0.020012,"swap_usd":0.00975,"envio_token_usd":0.00352,"transferencia_usd":0.00114},{"red":"optimism","nativo":"ETH","gas_gwei":0.001004,"swap_usd":0.00049,"envio_token_usd":0.00018,"transferencia_usd":0.00006},{"red":"polygon","nativo":"POL","gas_gwei":277.023823,"swap_usd":null,"envio_token_usd":null,"transferencia_usd":null}],"mas_barata_swap":"optimism","precios_nativos_usd":{"eth":2707.22696629,"pol":null}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_GnOc8QLKJSs3os-Mbe_L7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns real-time gas prices and estimated USD transaction costs (native transfer, ERC-20 transfer, swap) across Base, Ethereum, Arbitrum, Optimism, and Polygon, plus the cheapest chain for swaps.","exampleAgentPrompt":"What are the current gas prices and USD transaction costs for a native transfer, ERC-20 transfer, and a swap across Base, Ethereum, Arbitrum, Optimism, and Polygon — and which chain is cheapest for swapping right now?","exampleUseCases":[{"title":"Find cheapest chain before a DeFi swap","prompt":"Before I do a token swap, can you tell me the current gas costs in USD for a swap on Base, Arbitrum, Optimism, Ethereum, and Polygon so I can pick the cheapest one?"},{"title":"Gas cost dashboard for a multi-chain app","prompt":"Pull the latest gas prices in gwei and estimated USD costs for native transfers, ERC-20 transfers, and swaps on all five supported chains — Base, Ethereum, Arbitrum, Optimism, and Polygon."},{"title":"Decide where to send ERC-20 tokens cheaply","prompt":"I need to send some USDC to a friend — which of the five EVM chains (Base, Ethereum, Arbitrum, Optimism, Polygon) is cheapest for an ERC-20 transfer right now, and what will it cost in USD?"}],"resultDescription":"A JSON object with per-chain data including: network name, native token, gas price in gwei, estimated USD cost of a swap, ERC-20 token send, and native transfer; plus the name of the cheapest chain for swaps and current USD prices of native tokens (ETH, POL). A note clarifies that L2 chains incur an additional L1 data fee not included in the estimates.","failureModes":["Upstream RPC or gas oracle unavailability may cause null values for specific chains","Polygon swap/token transfer costs may return null if POL price is unavailable","Gas price data may be slightly stale if upstream nodes are lagging","Network congestion spikes can cause estimates to be outdated within seconds of fetching"],"whenToPreferThis":"Prefer this endpoint when you need a single call to compare gas costs across all five major EVM chains simultaneously, including USD-denominated estimates for common transaction types. Ideal for agents helping users decide which chain to use before executing a DeFi operation, or for building gas dashboards. Not suitable if you need historical gas data, per-contract estimates, or chains beyond Base, Ethereum, Arbitrum, Optimism, and Polygon.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:40:50.274Z","isFirstParty":false,"canonicalSlug":"vextorium-multi-chain-gas-price-comparator-5ebcd5f3"}