gas_compare
What a transaction costs right now on Base, Ethereum, Arbitrum, Optimism and Polygon, side by side: gas price, base and priority fee, USD cost of a native transfer, an ERC-20 transfer and a DEX swap (L2 L1-data fees included), the cheapest chain for each, and how each chain's gas price ranks against its own last 7 days of 10-minute samples, with the usually cheapest UTC hour. Costs $0.005 USDC on Base via x402.
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": "gas_compare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chains | No | Comma-separated subset: base, eth, arbitrum, optimism, polygon (default all) |