logo
pub trait GetHeight {
    fn get_height(&self) -> Result<u32, Error>;
}
Expand description

Trait for getting the current height of the blockchain.

Required methods

Return the current height

Implementations on Foreign Types

Implementors