Gas Prediction
gas.predictPredict near-future gas prices using moving average and trend analysis of recent block base fees. Returns prediction, trend, and recommendation. Use for a short-horizon fee forecast when planning a transaction. It is not a live quote or a transaction executor; use gas.tracker for current fees and gas.optimize for timing advice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | EVM chain only. Supported chains: base, ethereum, arbitrum, optimism, polygon, bsc, avalanche, zksync, linea, scroll, blast, mantle, gnosis, polygon-zkevm, mode, sei, celo, manta, taiko, fantom, cronos, opbnb, zora, worldchain, metis, fraxtal, kava, zetachain, filecoin, core-dao, aurora, moonbeam, klaytn, bob, canto, monad, tempo, megaeth, arc, plasma, katana, robinhood, pharos, hyperevm. | base |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | Blockchain queried | |
| error | No | ||
| stats | No | ||
| trend | No | ||
| current | No | ||
| forecast | No | ||
| timestamp | Yes | Unix timestamp ms | |
| dataSource | No | ||
| methodology | No | ||
| recommendation | No |