Expand description
The gas oracle middleware is used to get the gas price from a list of gas oracles instead of
using eth_gasPrice. For usage examples, refer to the GasOracle trait.
Modules§
Structs§
- Block
Native - A client over HTTP for the BlockNative gas tracker API
that implements the
GasOracletrait. - Cache
- EthGas
Station Deprecated - A client over HTTP for the EthGasStation gas tracker API
that implements the
GasOracletrait. - Etherchain
- A client over HTTP for the Etherchain gas tracker API
that implements the
GasOracletrait. - Etherscan
- A client over HTTP for the Etherscan gas tracker API
that implements the
GasOracletrait - GasNow
- A client over HTTP for the beaconcha.in GasNow gas tracker API
that implements the
GasOracletrait. - GasOracle
Middleware - Middleware used for fetching gas prices over an API instead of
eth_gasPrice. - Median
- Polygon
- The Polygon gas station API
Queries over HTTP and implements the
GasOracletrait. - Provider
Oracle - Gas oracle from a
Middlewareimplementation such as an Ethereum RPC provider.
Enums§
- GasCategory
- Generic
GasOraclegas price categories. - GasOracle
Error - Error thrown by a
GasOracle. - Middleware
Error
Traits§
- GasOracle
- An Ethereum gas price oracle.