Gas + fees across chains
gas_nowWhat a transaction costs right now on 17 EVM chains, Solana and Bitcoin — gwei/priority fee and the USD cost of a transfer and a swap on each. EVM: base fee + priority fee from the latest block (eth_feeHistory), USD cost of a 21,000-gas transfer and a ~150,000-gas swap (L2s shown before their L1 data fee). Solana: recent prioritization-fee percentiles. Bitcoin: mempool.space recommended sat/vB with USD for a typical 140 vB transaction. Price: free. Errors: returns isError with a message for invalid input or an upstream failure (not charged).
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_now"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chains | No | subset, e.g. ["ethereum","base","solana","bitcoin"] (default: all) 0-20 items. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| as_of | No | ||
| chains | No |