Gas window: does timing matter right now
evm_gas_windowUse when an agent can choose WHEN to send and must decide whether waiting would save anything: the fee paid across the last ~1000 blocks of this chain in one call, with the cost now, the window percentiles, where now sits in it, and timingMatters, which says whether this chain moves enough for the question to be worth asking at all. Do not use to price one transaction (/v1/evm/estimate-gas) or for EIP-1559 caps (/v1/evm/fees). $0.005 per call, paid over x402 (USDC).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | base | ethereum | polygon | arbitrum | optimism. Defaults to base. | |
| blocks | No | How many blocks of history, 32 to 1024. Defaults to 1024. |