Gas History
gas.historyGet 6-hour gas fee trend with 36 sampled data points. EVM: base fee per block. Solana: TPS performance samples. Scope: recent sampled fee history and trend. Use this for 'how have fees behaved recently?'. It is not a current quote (gas.tracker), a forecast (gas.predict), or a submission recommendation (gas.optimize).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | Blockchain to query. EVM 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. Dedicated non-EVM adapters: solana, hyperliquid, canton. | base |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | Blockchain queried | |
| period | No | ||
| history | No | Historical gas data points |