chain_fee_history
EVM gas fee history and EIP-1559 fee suggestions — Base-fee trend, gas utilization and priority-fee percentiles (10/50/90) over the last N blocks (1-100) via eth_feeHistory, with congestion level and suggested slow/standard/fast maxFeePerGas + maxPriorityFeePerGas in gwei. Chains: ethereum, base, arbitrum, optimism, polygon. Params: chain, blocks (default 20). Price: $0.002 USDC (Base, via x402).
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>",
"blocks": "<blocks>"
},
"name": "chain_fee_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | base | |
| blocks | Yes | 20 |