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§
Sourcefn production_gas_price(&self) -> Result<u64>
fn production_gas_price(&self) -> Result<u64>
The gas price for all transactions in the block.