{"uid":"cap_8y9h3C889GPd9v4aSplRe","slug":"evm-gas-cost-estimator-multi-chain-usd-fee-comparison-7c64fc8e","name":"EVM Gas Cost Estimator – Multi-Chain USD Fee Comparison","description":"Estimates the USD gas cost of a common action (transfer, erc20-transfer, approve, swap, nft-mint) across EVM chains, combining live gas price per chain with the native token price. Lets an agent pick the cheapest chain to execute and budget a transaction. Live aggregated gas + price compute. gas cost estimate, transaction fee usd, cheapest chain to execute, swap gas Accepts payment on Base or Solana — either network works.","url":"https://api.x402node.dev/chain/gas-estimate","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","properties":{"gas":{"type":"string","description":"optional custom gas units"},"chain":{"type":"string","description":"optional single chain; omit for all"},"action":{"type":"string","description":"transfer/erc20-transfer/approve/swap/nft-mint (default swap)"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.012","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.012/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.012","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.012","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ArHjZdrj9h6QqiYBt0yyw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.012","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Estimates the USD gas cost of a standard EVM transaction (transfer, ERC-20 transfer, approve, swap, NFT mint) across multiple EVM chains by combining live gas prices with native token prices.","exampleAgentPrompt":"What's the cheapest EVM chain right now to do a token swap — give me the USD gas cost estimate for a swap action across the main chains so I can pick the best one.","exampleUseCases":null,"resultDescription":"Returns the estimated USD cost of the requested transaction type on one or more EVM chains, calculated from live on-chain gas prices combined with the current native token price. Includes the raw gas price, token price, computed USD fee, and likely identifies the cheapest chain to execute on.","failureModes":["Unsupported action type returns a 400 or error body indicating invalid action enum value","Unknown or unsupported chain ID returns an error response","Live gas price or token price feed unavailable causes stale or failed estimate","Payment not attached (x402) results in 402 Payment Required with no data","Network timeout fetching live gas/price data causes delayed or empty response"],"whenToPreferThis":"Use this endpoint when an AI agent needs to make a cost-aware decision about which EVM chain to execute a transaction on, or when budgeting a DeFi or NFT interaction in USD terms. Prefer this over static fee tables when you need live, real-time USD cost estimates that reflect current gas market conditions and token prices across multiple chains in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:17:39.328Z","isFirstParty":false}