Module ethers_middleware::gas_oracle[][src]

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.

Structs

A client over HTTP for the EthGasStation gas tracker API that implements the GasOracle trait

A client over HTTP for the Etherchain gas tracker API that implements the GasOracle trait

A client over HTTP for the Etherscan gas tracker API that implements the GasOracle trait

Middleware used for fetching gas prices over an API instead of eth_gasPrice

Enums

Various gas price categories. Choose one of the available

Error thrown when fetching data from the GasOracle

Traits

GasOracle is a trait that an underlying gas oracle needs to implement.