Trait GasPriceProvider

Source
pub trait GasPriceProvider {
    // Required methods
    fn production_gas_price(&self) -> Result<u64>;
    fn dry_run_gas_price(&self) -> Result<u64>;
}
Expand description

Interface for retrieving the gas price for a block

Required Methods§

Source

fn production_gas_price(&self) -> Result<u64>

The gas price for all transactions in the block.

Source

fn dry_run_gas_price(&self) -> Result<u64>

Implementors§