{"uid":"cap_7IazjdTcPkM0PIuKo0GOs","slug":"genexxis-gas-price-oracle-08f88405","name":"Genexxis Gas Price Oracle","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/now?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":["chain"],"properties":{"chain":{"type":"string","description":"ethereum, base, arbitrum, optimism, polygon or bsc"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"name":"Base","chain":"base","nativeUsd":2342.74,"baseFeeGwei":0.005,"nativeToken":"ETH","transactions":{"ethTransfer":{"gas":21000,"costUsd":{"fast":0.000739,"slow":0.000265,"standard":0.000303},"l1DataFeeUsd":8.75e-7},"uniswapSwap":{"gas":180000,"costUsd":{"fast":0.00633,"slow":0.00226,"standard":0.0026},"l1DataFeeUsd":0.00000355},"erc20Transfer":{"gas":65000,"costUsd":{"fast":0.00229,"slow":0.000817,"standard":0.000938},"l1DataFeeUsd":0.00000112}},"priorityFeeGwei":{"fast":0.01,"slow":0.00036,"standard":0.00115}}},"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_Lu2wxHPwkOlS_9R15-epL","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 current base fee, slow/standard/fast priority fees in gwei, and USD costs for native transfer, ERC-20 transfer, and Uniswap swap (including L1 data fee on rollups) for a specified EVM chain.","exampleAgentPrompt":"What are the current gas fees on Base — give me the base fee, the slow/standard/fast priority fees in gwei, and the USD cost to do a Uniswap swap right now?","exampleUseCases":[{"title":"DeFi bot pre-trade cost check","prompt":"Before I execute this Uniswap swap on Arbitrum, what will it cost me in USD at the standard gas tier right now, including the L1 data fee?"},{"title":"Multi-chain gas comparison dashboard","prompt":"Pull the current gas prices for Ethereum, Base, and Polygon — I want the base fee in gwei and the USD cost of an ERC-20 transfer at standard speed for each chain."},{"title":"Gas alert threshold monitor","prompt":"Check the current fast gas price on Ethereum mainnet in gwei and tell me the USD cost of a native ETH transfer right now — I want to know if it's cheap enough to send."}],"resultDescription":"A JSON object with chain name, native token, current native token USD price, base fee in gwei, slow/standard/fast priority fees in gwei, and USD costs (slow/standard/fast) for three transaction types — ETH transfer (21,000 gas), ERC-20 transfer (65,000 gas), and Uniswap swap (180,000 gas) — each including the L1 data fee where applicable for rollup chains.","failureModes":["Unsupported chain name returns an error — only ethereum, base, arbitrum, optimism, polygon, and bsc are valid","Missing required 'chain' query parameter returns a validation error","Network issues fetching live on-chain data may cause transient 500 errors","Stale price data possible during high congestion periods"],"whenToPreferThis":"Choose this endpoint when you need current, real-time gas fee estimates for a specific EVM chain broken down by speed tier (slow/standard/fast) and expressed in both gwei and USD for practical transaction types — especially when operating on rollups where L1 data fees matter. It is more convenient than raw RPC calls because it bundles native token price conversion and pre-calculates costs for common transaction types in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T12:32:54.207Z","isFirstParty":false,"canonicalSlug":"genexxis-gas-price-oracle-08f88405"}