Module zksync_web3_rs::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.
Modules§
Structs§
- A client over HTTP for the BlockNative gas tracker API that implements the
GasOracletrait. - EthGas
Station Deprecated A client over HTTP for the EthGasStation gas tracker API that implements theGasOracletrait. - A client over HTTP for the Etherchain gas tracker API that implements the
GasOracletrait. - A client over HTTP for the Etherscan gas tracker API that implements the
GasOracletrait - A client over HTTP for the beaconcha.in GasNow gas tracker API that implements the
GasOracletrait. - Middleware used for fetching gas prices over an API instead of
eth_gasPrice. - The Polygon gas station API Queries over HTTP and implements the
GasOracletrait. - Gas oracle from a
Middlewareimplementation such as an Ethereum RPC provider.
Enums§
Traits§
- An Ethereum gas price oracle.