Module ethers_middleware::gas_oracle
source · 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;
Deprecatedpub use etherchain::Etherchain;
pub use etherscan::Etherscan;
etherscan
pub 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§
- etherscan
etherscan
Enums§
Traits§
- An Ethereum gas price oracle.