{"uid":"cap_wyXafwLefc0xhjUcuFM6F","slug":"evm-gas-price-lookup-unykorn-genesis402-d6acc0a3","name":"EVM Gas Price Lookup — UnyKorn / Genesis402","description":"Current gas price on any of ten EVM chains — Genesis402 / UnyKorn Operator Network","url":"https://twin.unykorn.org/evm-gas-price?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"params":{"type":"object","properties":{"chain":{"enum":["ethereum","base","polygon","arbitrum","optimism","bsc","avalanche","gnosis","linea","scroll"],"type":"string"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"type":"evm-gas-price","receipt":{"tx_hash":"0x<64hex>","amount_usd":0.002,"receipt_id":"g402-<16hex>"},"generated_at":"<iso8601>"}},"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_6ChFTO6xDFPy4-ezgO7v6","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 current gas price for any of ten supported EVM-compatible blockchain networks","exampleAgentPrompt":"What's the current gas price on Arbitrum right now?","exampleUseCases":[{"title":"Pre-transaction cost check on Ethereum","prompt":"Before I send this ETH transfer, what's the current gas price on Ethereum so I can estimate my fee?"},{"title":"DeFi bot timing on Polygon","prompt":"Check the current gas price on Polygon — I want to know if it's low enough to execute my swap right now."},{"title":"Multi-chain deployment planning","prompt":"What's the gas price on Base at this moment? I'm deciding which chain to deploy my contract on and want to compare costs."}],"resultDescription":"A JSON object with a boolean ok field, a type field identifying the response as evm-gas-price, and a receipt object containing the transaction hash, amount in USD, and a receipt ID, plus a generated_at ISO 8601 timestamp. The gas price data for the requested chain is included in the response payload.","failureModes":["Unsupported chain name passed — only the ten enum values are accepted","Network connectivity issues to the target chain's RPC","Payment failure via x402 protocol results in 402 response","Malformed request body or missing chain parameter","Transient upstream RPC unavailability for the requested chain"],"whenToPreferThis":"Choose this endpoint when you need real-time gas price data for any of the ten supported EVM chains (Ethereum, Base, Polygon, Arbitrum, Optimism, BSC, Avalanche, Gnosis, Linea, Scroll) in a single low-latency call. It is ideal for pre-transaction cost estimation, DeFi bot timing logic, or cross-chain fee comparisons. Prefer this over scraping block explorers or maintaining your own RPC connections when you need a pay-per-call, infrastructure-free solution with x402 micropayment billing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T02:41:26.225Z","isFirstParty":false,"canonicalSlug":"evm-gas-price-lookup-unykorn-genesis402-d6acc0a3"}