usecore::future::Future;usecrate::InterfaceError;/// Provides metadata from the blockchain.
pubtraitProvidesBlockchainMeta: Sync {/// Get the number of the latest block.
////// The number of a block is its index on the blockchain, so the genesis block would have
/// `number = 0`.
fnlatest_block_number(&self)-> impl Send +Future<Output = Result<usize, InterfaceError>>;}