{"slug":"x402-gateway-blackwoodstate8-workers-dev-v1-gas-fees-a344b7","title":"Use when you need a gas price or fee estimate before a transaction on Ethereum, ","host":"x402-gateway.blackwoodstate8.workers.dev","method":"POST","resource":"https://x402-gateway.blackwoodstate8.workers.dev/v1/gas-fees","category":"market","description":"Use when you need a gas price or fee estimate before a transaction on Ethereum, Base or Solana, 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 live gas fees for Ethereum and Base (base f","price_listed":0.003,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":3,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"chains":{"description":"Chains to read (ethereum, base and solana when omitted), e.g. [\"base\", \"ethereum\"]","items":{"enum":["ethereum","base","solana"],"type":"string"},"maxItems":3,"minItems":1,"type":"array"}},"required":[],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"additionalProperties":false,"properties":{"base":{"anyOf":[{"additionalProperties":false,"properties":{"baseFeeGwei":{"type":"number"},"blockNumber":{"type":"number"},"chainId":{"type":"number"},"gasPriceGwei":{"type":"number"},"maxFeeGwei":{"additionalProperties":false,"properties":{"fast":{"type":"number"},"slow":{"type":"number"},"standard":{"type":"number"}},"required":["slow","standard","fast"],"type":"object"},"nextBaseFeeGwei":{"type":"number"},"priorityFeeGwei":{"additionalProperties":false,"properties":{"fast":{"type":"number"},"slow":{"type":"number"},"standard":{"type":"number"}},"required":["slow","standard","fast"],"type":"object"},"transferCostEth":{"additionalProperties":false,"properties":{"fast":{"type":"number"},"slow":{"type":"number"},"standard":{"type":"number"}},"required":["slow","standard","fast"],"type":"object"}},"required":["chainId","blockNumber","baseFeeGwei","nextBaseFeeGwei","gasPriceGwei","priorityFeeGwei","maxFeeGwei","transferCostEth"],"type":"object"},{"type":"null"}]},"ethereum":{"anyOf":[{"additionalProperties":false,"properties":{"baseFeeGwei":{"type":"number"},"blockNumber":{"type":"number"},"chainId":{"type":"number"},"gasPriceGwei":{"type":"number"},"maxFeeGwei":{"additionalProperties":false,"properties":{"fast":{"type":"number"},"slow":{"type":"number"},"standard":{"type":"number"}},"required":["slow","standard","fast"],"type":"object"},"nextBaseFeeGwei":{"type":"number"},"priorityFeeGwei":{"additionalProperties":false,"properties":{"fast":{"type":"number"},"slow":{"type":"number"},"standard":{"type":"number"}},"required":["slow","standard","fast"],"type":"object"},"transferCostEth":{"additionalProperties":false,"properties":{"fast":{"type":"number"},"slow":{"type":"number"},"standard":{"type":"number"}},"required":["slow","standard","fast"],"type":"object"}},"required":["chainId","blockNumber","baseFeeGwei","nextBaseFeeGwei","gasPriceGwei","priorityFeeGwei","maxFeeGwei","transferCostEth"],"type":"object"},{"type":"null"}]},"next":{"additionalProperties":false,"description":"Suggested next paid call in the same family (call it in a loop when the task continues)","properties":{"method":{"enum":["GET","POST"],"type":"string"},"sample":{"description":"Free fixed sample of the whole family","type":"string"},"service":{"description":"Service id of the suggested next paid call","type":"string"},"tool":{"description":"MCP tool name of the same call","type":"string"},"url":{"description":"Paid route of the next call","type":"string"},"useWhen":{"description":"When the next call is the right one","type":"string"}},"required":["service","tool","method","url","useWhen","sample"],"type":"object"},"note":{"type":"string"},"solana":{"anyOf":[{"additionalProperties":false,"properties":{"baseFeeLamportsPerSignature":{"type":"number"},"priorityFeeMicroLamportsPerCu":{"additionalProperties":false,"properties":{"high":{"type":"number"},"low":{"type":"number"},"medium":{"type":"number"},"min":{"type":"number"},"veryHigh":{"type":"number"}},"required":["min","low","medium","high","veryHigh"],"type":"object"},"slot":{"type":"number"}},"required":["slot","baseFeeLamportsPerSignature","priorityFeeMicroLamportsPerCu"],"type":"object"},{"type":"null"}]},"updatedAt":{"type":"string"}},"required":["ethereum","base","solana","updatedAt","note"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Use when you need a gas price or fee estimate before a transaction on Ethereum, Base or Solana, 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 live gas fees for Ethereum and Base (base fee, slow, standard and fast EIP-1559 priority and max fees in gwei, transfer cost) and Solana priority fees, in one call for 0.003 USDC per call. Typical response time 1500 ms (p95). Category: Data.","last_updated":"2026-10-18T11:38:28.378Z","schemes":["exact","upto"]}