Gas tiers and transfer cost in USD on five EVM chains, cheapest first ($0.003)
get_gas_pricesCompare gas fees across Base, Ethereum, Arbitrum, Optimism and Polygon to estimate transaction costs, including fee tiers and 21000-gas transfer totals in native coin and USD.
Instructions
Gas oracle for Base, Ethereum, Arbitrum, Optimism and Polygon: next base fee, slow, standard and fast priority-fee tiers (median of the last 10 blocks), max fee per gas, and the cost of a 21000-gas transfer in native coin and USD via Chainlink. Sorted cheapest first. Not charged for bad input or when every chain fails. No API key. Price: $0.003 USDC per call, paid over x402 on Base from the wallet in X402_PRIVATE_KEY (not charged when the call fails).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_gas_prices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chains | No | Comma list, any of: base,ethereum,arbitrum,optimism,polygon. Default: all five. |