pub trait GasPriceProvider {
// Required method
fn gas_price(&self, params: GasPriceParams) -> Option<u64>;
}
Expand description
Interface for retrieving the gas price for a block
Required Methods§
sourcefn gas_price(&self, params: GasPriceParams) -> Option<u64>
fn gas_price(&self, params: GasPriceParams) -> Option<u64>
The gas price for all transactions in the block.