Gas optimizer
Find the cheapest gas right now: Base gas, Ethereum gas, Base fee estimate, and ETH price for USD conversion.
When to use this pack
Timing a transaction — compare gas across chains and decide whether to act now or wait.
Tools in this pack
-
Gas snapshot (slow / standard / fast)
$0.005
POST /api/gas-snapshot
Live gas price snapshot for a chain — slow / standard / fast tiers in gwei, plus the latest base fee. Sampled from eth_feeHistory (last 4 blocks, 25th/50th/90th percentile priority fees). Use to estimate before broadcasting a transaction from another tool.
-
Gas price
$0.002
GET /api/gas-estimate
Current gas price (gwei and wei) on Base, Polygon, Arbitrum, Optimism, Ethereum, or Robinhood Chain — for an agent budgeting a transaction. Read-only. ?network=base
-
Crypto price
$0.010
GET /api/crypto-price
Live crypto prices for one or many coins in any vs_currency (usd, eur, btc, eth, etc). Returns last price, 24h change %, 24h volume, and market cap per coin. Accepts ticker symbols (BTC, ETH, SOL) for the top ~50 by market cap, or canonical CoinGecko ids (e.g. "render-token") for any of the ~15k tracked coins. Batched: up to 25 coins per call. Backed by CoinGecko's public API — keyless.
Workflow
- Get Base gas tiers (slow/standard/fast).
- Get Ethereum gas tiers for comparison.
- Get a Base fee estimate for a standard transfer.
- Get ETH price to express costs in USD.
Run it in Claude
claude mcp add agent402 -s user -- npx -y agent402-mcp@latest
Then paste this prompt into Claude:
Find the cheapest gas right now using Agent402's gas-optimizer skill pack. Get (1) Base gas tiers, (2) Ethereum gas tiers, (3) Base fee estimate, (4) ETH price. Tell me the cost in USD and whether to act now or wait.
← All skill packs