Trait subcoin_primitives::ClientExt

source ·
pub trait ClientExt<Block> {
    // Required method
    fn best_number(&self) -> u32;
}
Expand description

A trait to extend the Substrate Client.

Required Methods§

source

fn best_number(&self) -> u32

Returns the number of best block.

Implementations on Foreign Types§

source§

impl<Block, Client> ClientExt<Block> for Arc<Client>
where Block: BlockT, Client: HeaderBackend<Block>,

Implementors§