pub trait GasPriceProvider:
Send
+ Sync
+ 'static {
// Required method
fn next_gas_price(&self) -> Word;
}
Expand description
Trait for getting gas price for the Tx Pool code to look up the gas price for a given block height
Required Methods§
sourcefn next_gas_price(&self) -> Word
fn next_gas_price(&self) -> Word
Calculate gas price for the next block.