pub trait GasPriceData: Send + Sync {
// Required method
fn latest_height(&self) -> Option<BlockHeight>;
}
Expand description
Provides the latest block height. This is used to determine the latest block height that has been processed by the gas price service. We need this to fetch the gas price data for the latest block.