chain_fee_history
$0.09 via x402: EIP-1559 fee history — base-fee trend over N blocks, priority-fee percentiles (10/50/90), mean block utilization, and a recommended maxFeePerGas / maxPriorityFeePerGas with the reasoning stated. A single gas number cannot tell you whether fees are rising; this can. Base, Ethereum, Optimism, Arbitrum, Polygon, Gnosis.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | base|ethereum|optimism|arbitrum|polygon|gnosis (default base) | |
| blocks | No | Recent blocks to sample, 1-100 (default 20) | |
| x_payment | No |