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 BlockNative gas tracker API that implements the GasOracle trait
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
A client over HTTP for the Etherchain GasNow gas tracker API that implements the GasOracle trait
Middleware used for fetching gas prices over an API instead of eth_gasPrice
The Polygon gas station API Queries over HTTP and implements the GasOracle trait
Gas oracle from a Middleware implementation such as an Ethereum RPC provider.

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.