pub trait ChainMetaProvider {
    // Required method
    fn chain_id(&self) -> u32;

    // Provided methods
    fn network_id(&self) -> u32 { ... }
    fn meta(&self) -> ChainStaticMeta { ... }
}

Required Methods§

source

fn chain_id(&self) -> u32

Returns the current chain id.

Provided Methods§

source

fn network_id(&self) -> u32

Returns the current chain network id.

source

fn meta(&self) -> ChainStaticMeta

Implementors§