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§

source

fn gas_price(&self, params: GasPriceParams) -> Option<u64>

The gas price for all transactions in the block.

Implementors§