Gas Prediction
gas.predictPredict near-future gas prices using moving average and trend analysis of recent block base fees. Returns prediction, trend, and recommendation. Scope: short-horizon fee forecast from recent samples. Use this for 'what may fees be soon?'. It is not a live quote (gas.tracker), historical data (gas.history), or a timing recommendation (gas.optimize), and it never executes a transaction.
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 |