Module reth_rpc_eth_types::gas_oracle
source · Expand description
An implementation of the eth gas price oracle, used for providing gas price estimates based on previous blocks.
Structs§
- Wrapper struct for
LruMap
- The wrapper type for gas limit
- Calculates a gas price depending on recent blocks.
- Settings for the
GasPriceOracle
- Stores the last result that the oracle returned
Constants§
- The default gas limit for
eth_call
and adjacent calls. SeeRPC_DEFAULT_GAS_CAP
.