{"uid":"cap_qMdXLRSyQ94SR736tarKp","slug":"genexxis-gas-comparison-multi-chain-evm-gas-cost-comparator-8bb1179b","name":"Genexxis Gas Comparison — Multi-Chain EVM Gas Cost Comparator","description":"What a transaction costs right now, in USD, on Ethereum, Base, Arbitrum, OP Mainnet, Polygon and BNB Chain. Live from public RPCs (eth_feeHistory over the last 20 blocks: base fee + slow/standard/fast priority fees), native token prices from Coinbase/Binance, and the L1 data fee for rollups (OP-stack GasPriceOracle, Arbitrum ArbGasInfo). Gives USD cost for a native transfer, an ERC-20 transfer and a Uniswap-style swap, or compares all 6 chains for any gas amount. Cached 15 s.","url":"https://gas.genexxis.com/compare?utm_source=zero.xyz","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","required":[],"properties":{"gas":{"type":"string","description":"gas units of the transaction (21000-30000000), default 65000"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"gas":65000,"chains":[{"chain":"optimism","costUsd":{"fast":0.000763,"slow":0.00000167,"standard":0.0000169},"nativeToken":"ETH"},{"chain":"base","costUsd":{"fast":0.00229,"slow":0.000817,"standard":0.000938},"nativeToken":"ETH"},{"chain":"bsc","costUsd":{"fast":0.00476,"slow":0.00238,"standard":0.00238},"nativeToken":"BNB"},{"chain":"ethereum","costUsd":{"fast":0.159,"slow":0.00691,"standard":0.00753},"nativeToken":"ETH"}],"failed":[]}},"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_rsTenscWgPKu2MKqA8mjo","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 the USD cost of a transaction (by gas units) across Ethereum, Base, Arbitrum, OP Mainnet, Polygon, and BNB Chain sorted cheapest-first, with slow/standard/fast speed tiers.","exampleAgentPrompt":"What would a 65,000 gas transaction cost right now on each major EVM chain — Ethereum, Base, Arbitrum, Optimism, Polygon, and BNB — broken down by slow, standard, and fast speed, sorted cheapest first?","exampleUseCases":[{"title":"Find cheapest chain for token swap","prompt":"I'm about to do a token swap that uses about 150,000 gas — which EVM chain would be cheapest for that right now, and what's the cost at standard speed?"},{"title":"DeFi dashboard live fee widget","prompt":"Pull the current gas costs for a 21,000 gas transfer across all major EVM chains, slow through fast, so I can show users which network to pick."},{"title":"Smart contract deployment cost audit","prompt":"I need to deploy a contract that uses about 2,000,000 gas — can you compare what that would cost in USD on Ethereum, Base, Arbitrum, Optimism, Polygon, and BNB Chain right now at each speed tier?"}],"resultDescription":"A JSON object containing the input gas units, an array of chains (optimism, base, bsc, ethereum, arbitrum, polygon) each with a costUsd object showing slow/standard/fast prices in USD and the native token symbol, sorted cheapest first, plus a 'failed' array listing any chains that could not be fetched.","failureModes":["Invalid gas units outside 21000–30000000 range may return an error or default to 65000","One or more chains may appear in the 'failed' array if their RPC is temporarily unavailable","Stale or cached gas prices if blockchain RPCs are slow to respond","HTTP 402 if payment header is missing or USDC payment fails"],"whenToPreferThis":"Use this endpoint when you need a real-time, side-by-side USD cost comparison of a specific transaction across all major EVM chains at once, with slow/standard/fast tiers. Prefer it over single-chain gas endpoints when the goal is chain selection or cost optimization rather than just knowing the current gas price on one specific network.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T12:34:27.419Z","isFirstParty":false,"canonicalSlug":"genexxis-gas-comparison-multi-chain-evm-gas-cost-comparator-8bb1179b"}