{"uid":"cap_5ZvbH_XCdns4q7h5vX0gh","slug":"multi-chain-gas-fee-estimator-ethereum-base-solana-43ccf8e3","name":"Multi-Chain Gas Fee Estimator (Ethereum, Base, Solana)","description":"Use when you need the current gas price, an ethereum gas fee estimate before a transaction, or to compare gas fees across chains. Do not use for gas units of a given transaction, gas history or chains beyond Ethereum, Base and Solana. Returns JSON with the gas price and gas fees on Ethereum and Base (base fee, slow, standard and fast EIP-1559 fees in gwei, transfer cost) plus Solana priority fees for 0.002 USDC per call. Typical response time 1500 ms (p95). Category: Data.","url":"https://x402-gateway.blackwoodstate8.workers.dev/v1/gas-fees?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":{"type":"object","required":[],"properties":{"chains":{"type":"array","items":{"enum":["ethereum","base","solana"],"type":"string"},"maxItems":3,"minItems":1,"description":"Chains to read (ethereum, base and solana when omitted), e.g. [\"base\", \"ethereum\"]"}}},"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","required":["ethereum","base","solana","updatedAt","note"],"properties":{"base":{"anyOf":[{"type":"object","required":["chainId","blockNumber","baseFeeGwei","nextBaseFeeGwei","gasPriceGwei","priorityFeeGwei","maxFeeGwei","transferCostEth"],"properties":{"chainId":{"type":"number"},"maxFeeGwei":{"type":"object","required":["slow","standard","fast"],"properties":{"fast":{"type":"number"},"slow":{"type":"number"},"standard":{"type":"number"}},"additionalProperties":false},"baseFeeGwei":{"type":"number"},"blockNumber":{"type":"number"},"gasPriceGwei":{"type":"number"},"nextBaseFeeGwei":{"type":"number"},"priorityFeeGwei":{"type":"object","required":["slow","standard","fast"],"properties":{"fast":{"type":"number"},"slow":{"type":"number"},"standard":{"type":"number"}},"additionalProperties":false},"transferCostEth":{"type":"object","required":["slow","standard","fast"],"properties":{"fast":{"type":"number"},"slow":{"type":"number"},"standard":{"type":"number"}},"additionalProperties":false}},"additionalProperties":false},{"type":"null"}]},"next":{"type":"object","required":["service","tool","method","url","useWhen","sample"],"properties":{"url":{"type":"string","description":"Paid route of the next call"},"tool":{"type":"string","description":"MCP tool name of the same call"},"method":{"enum":["GET","POST"],"type":"string"},"sample":{"type":"string","description":"Free fixed sample of the whole family"},"service":{"type":"string","description":"Service id of the suggested next paid call"},"useWhen":{"type":"string","description":"When the next call is the right one"}},"description":"Suggested next paid call in the same family (call it in a loop when the task continues)","additionalProperties":false},"note":{"type":"string"},"solana":{"anyOf":[{"type":"object","required":["slot","baseFeeLamportsPerSignature","priorityFeeMicroLamportsPerCu"],"properties":{"slot":{"type":"number"},"baseFeeLamportsPerSignature":{"type":"number"},"priorityFeeMicroLamportsPerCu":{"type":"object","required":["min","low","medium","high","veryHigh"],"properties":{"low":{"type":"number"},"min":{"type":"number"},"high":{"type":"number"},"medium":{"type":"number"},"veryHigh":{"type":"number"}},"additionalProperties":false}},"additionalProperties":false},{"type":"null"}]},"ethereum":{"anyOf":[{"type":"object","required":["chainId","blockNumber","baseFeeGwei","nextBaseFeeGwei","gasPriceGwei","priorityFeeGwei","maxFeeGwei","transferCostEth"],"properties":{"chainId":{"type":"number"},"maxFeeGwei":{"type":"object","required":["slow","standard","fast"],"properties":{"fast":{"type":"number"},"slow":{"type":"number"},"standard":{"type":"number"}},"additionalProperties":false},"baseFeeGwei":{"type":"number"},"blockNumber":{"type":"number"},"gasPriceGwei":{"type":"number"},"nextBaseFeeGwei":{"type":"number"},"priorityFeeGwei":{"type":"object","required":["slow","standard","fast"],"properties":{"fast":{"type":"number"},"slow":{"type":"number"},"standard":{"type":"number"}},"additionalProperties":false},"transferCostEth":{"type":"object","required":["slow","standard","fast"],"properties":{"fast":{"type":"number"},"slow":{"type":"number"},"standard":{"type":"number"}},"additionalProperties":false}},"additionalProperties":false},{"type":"null"}]},"updatedAt":{"type":"string"}},"additionalProperties":false}}}}},"responseSchema":{"type":"json","example":{"base":{"chainId":8453,"maxFeeGwei":{"fast":0.015,"slow":0.01,"standard":0.011},"baseFeeGwei":0.005,"blockNumber":52750593,"gasPriceGwei":0.006,"nextBaseFeeGwei":0.005,"priorityFeeGwei":{"fast":0.005,"slow":0,"standard":0.001},"transferCostEth":{"fast":2.1e-7,"slow":1.05e-7,"standard":1.26e-7}},"note":"Gas in gwei. EIP-1559 tiers are the median 10th, 50th and 90th percentile priority fees of the last 20 blocks; max fee = 2 x next base fee + priority fee; transfer cost is a 21,000-gas ETH transfer. Solana: priority fee levels in micro-lamports per compute unit, on top of 5,000 lamports per signature.","solana":{"slot":458268792,"baseFeeLamportsPerSignature":5000,"priorityFeeMicroLamportsPerCu":{"low":0,"min":0,"high":50000,"medium":2673,"veryHigh":2000000}},"ethereum":{"chainId":1,"maxFeeGwei":{"fast":1.07495,"slow":0.0749717,"standard":0.0762873},"baseFeeGwei":0.0413101,"blockNumber":26216462,"gasPriceGwei":0.0413101,"nextBaseFeeGwei":0.0374734,"priorityFeeGwei":{"fast":1,"slow":0.000024942,"standard":0.00134048},"transferCostEth":{"fast":0.0000217869,"slow":7.87465e-7,"standard":8.15091e-7}},"updatedAt":"2026-10-18T02:28:53.602Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.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_uzrf1_lhaK_cqvx5XsOpG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns live EIP-1559 gas fee estimates (slow/standard/fast) for Ethereum and Base plus priority fees for Solana in a single paid API call","exampleAgentPrompt":"What are the current gas fees on Ethereum and Base right now — give me the slow, standard, and fast priority fee options in gwei so I can decide when to send my transaction?","exampleUseCases":[{"title":"Pre-transaction gas check on Ethereum","prompt":"Before I send this ETH transfer, what are the current slow, standard, and fast gas fees on Ethereum so I can pick the right priority level?"},{"title":"Cross-chain fee comparison before bridging","prompt":"I'm deciding whether to do this transaction on Ethereum or Base — can you pull the current gas fees for both chains and tell me which is cheaper right now?"},{"title":"Solana priority fee check before submission","prompt":"What are the current priority fees on Solana? I want to know what to set before submitting my transaction so it doesn't get stuck."}],"resultDescription":"A JSON object with live gas fee data for each requested chain. For Ethereum and Base: chain ID, block number, current base fee, next base fee, gas price, slow/standard/fast EIP-1559 priority fees and max fees in gwei, and estimated transfer cost in ETH at each speed tier. For Solana: current priority fee recommendations. Also includes an updatedAt timestamp and a note field.","failureModes":["Invalid chain name in the chains array returns a validation error","Payment not included or insufficient USDC causes a 402 Payment Required response","Upstream RPC node unavailability may cause a timeout or partial response after ~1500ms","Requesting chains outside the supported set (ethereum, base, solana) is rejected"],"whenToPreferThis":"Use this endpoint when you need a real-time, multi-chain gas fee snapshot across Ethereum, Base, and/or Solana before executing or recommending a transaction. It is ideal for comparing slow/standard/fast EIP-1559 fee tiers and estimating transfer costs in a single call. Do not use it for estimating gas units for a specific transaction, retrieving historical gas data, or chains other than Ethereum, Base, and Solana.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T01:13:32.129Z","isFirstParty":false,"canonicalSlug":"multi-chain-gas-fee-estimator-ethereum-base-solana-43ccf8e3"}