← Back to directory

Use before sending an EVM transaction to pick the cheapest chain and set its fee...

https://x402-tools-production-2755.up.railway.app/tools/gas

Overview

Use before sending an EVM transaction to pick the cheapest chain and set its fees. Live gas on Ethereum, Base, Arbitrum, Optimism, Polygon and BSC: slow/standard/fast EIP-1559 fee tiers (priority fee, maxFee) from recent blocks, plus the USD cost of a transfer, ERC-20 transfer and swap per tier, cheapest chain first.

Protocol x402
Price $0.0020
Payment Asset USD Coin
Payment Network eip155:8453
Category crypto/defi
Provider x402 tools
Source bazaar
Indexed 2026-09-29 13:20:42

Health

Status healthy
Latency (p50) 368ms
Uptime (30d) 98.5%
Reliability Score 94.2/100
Last Checked 2026-10-31 07:13:02
Last Healthy 2026-10-31 07:13:02
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "method": "GET", "queryParams": { "chains": "base,ethereum" }, "type": "http" }

Output Schema

{ "example": { "chains": [ { "baseFeeGwei": 0.005, "chain": "base", "chainId": 8453, "costs": { "erc20Transfer": { "native": 3.9e-7, "usd": 0.00107 }, "swap": { "native": 9e-7, "usd": 0.0025 }, "transfer": { "native": 1.26e-7, "usd": 0.00035 } }, "gasPriceGwei": 0.006, "nativeSymbol": "ETH", "nativeUsd": 2734.49, "tiers": { "fast": { "costs": { "transfer": { "native": 5.6e-7, "usd": 0.00152 } }, "effectiveGwei": 0.0266, "maxFeeGwei": 0.0316, "priorityFeeGwei": 0.0216 }, "slow": { "costs": { "transfer": { "native": 1.05e-7, "usd": 0.00029 } }, "effectiveGwei": 0.005, "maxFeeGwei": 0.01, "priorityFeeGwei": 0 }, "standard": { "costs": { "transfer": { "native": 1.26e-7, "usd": 0.00035 } }, "effectiveGwei": 0.006, "maxFeeGwei": 0.011, "priorityFeeGwei": 0.001 } } } ], "gasUsed": { "erc20Transfer": 65000, "swap": 150000, "transfer": 21000 } }, "type": "json" }