pub trait StakingApi<Block: BlockT, Balance>: Core<Block>where
    Balance: Codec,{
    // Provided method
    fn nominations_quota(
        &self,
        __runtime_api_at_param__: <Block as BlockT>::Hash,
        balance: Balance
    ) -> Result<u32, ApiError> { ... }
}

Provided Methods§

source

fn nominations_quota( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, balance: Balance ) -> Result<u32, ApiError>

Returns the nominations quota for a nominator with a given balance.

Trait Implementations§

source§

impl<Block: BlockT, Balance> RuntimeApiInfo for dyn StakingApi<Block, Balance>

source§

const ID: [u8; 8] = _

The identifier of the runtime api.
source§

const VERSION: u32 = 1u32

The version of the runtime api.

Implementors§