Gas history
gas_historyAnalyze historical gas conditions across EVM chains: get base fee, median tip, and gas-used ratio stats over up to 1024 blocks with a downsampled series.
Instructions
Base fee / median tip / gas-used ratio over the last N (≤1024) blocks with min/median/p75/max stats. Returns stats plus a downsampled series.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"chain": "<chain>"
},
"name": "gas_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | EVM chain: ethereum, base, arbitrum, optimism, polygon, bsc, avalanche | |
| blocks | No |