fuel_core_gas_price_service::ports

Trait L2Data

source
pub trait L2Data: Send + Sync {
    // Required methods
    fn latest_height(&self) -> StorageResult<BlockHeight>;
    fn get_block(
        &self,
        height: &BlockHeight,
    ) -> StorageResult<Option<Block<Transaction>>>;
}

Required Methods§

Implementors§