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.
Re-exports§
pub use blocknative::BlockNative;pub use eth_gas_station::EthGasStation;Deprecated pub use etherchain::Etherchain;pub use etherscan::Etherscan;etherscanpub use middleware::GasOracleMiddleware;pub use middleware::MiddlewareError;pub use median::Median;pub use cache::Cache;pub use polygon::Polygon;pub use gas_now::GasNow;pub use provider_oracle::ProviderOracle;
Modules§
- blocknative
- cache
- eth_
gas_ station - etherchain
- etherscan
etherscan - gas_now
- median
- middleware
- polygon
- provider_
oracle
Enums§
- GasCategory
- Generic
GasOraclegas price categories. - GasOracle
Error - Error thrown by a
GasOracle.
Traits§
- GasOracle
- An Ethereum gas price oracle.