pub trait BabeApiClient: ClientT {
    fn epoch_authorship<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = RpcResult<HashMap<AuthorityId, EpochAuthorship>>> + Send + 'async_trait>>
    where
        Self: Sync + 'async_trait,
        'life0: 'async_trait
, { ... } }
Expand description

Client implementation for the BabeApi RPC API.

Provided Methods§

Returns data about which slots (primary or secondary) can be claimed in the current epoch with the keys in the keystore.

Implementors§