Trait beefy_primitives::BeefyApi[][src]

pub trait BeefyApi<Block: BlockT>: Core<Block> {
    fn validator_set(
        &self,
        __runtime_api_at_param__: &BlockId<Block>
    ) -> Result<ValidatorSet<AuthorityId>, ApiError> { ... }
fn validator_set_with_context(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        context: ExecutionContext
    ) -> Result<ValidatorSet<AuthorityId>, ApiError> { ... } }
Expand description

API necessary for BEEFY voters.

Provided methods

Return the current active BEEFY validator set

Return the current active BEEFY validator set

Trait Implementations

The identifier of the runtime api.

The version of the runtime api.

Implementors