pub trait NominationPoolsApi<Block: BlockT, AccountId, Balance>: Core<Block>where
    AccountId: Codec,
    Balance: Codec,
{ fn pending_rewards(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        member: AccountId
    ) -> Result<Balance, ApiError> { ... } fn pending_rewards_with_context(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        context: ExecutionContext,
        member: AccountId
    ) -> Result<Balance, ApiError> { ... } }
Expand description

Runtime api for accessing information about nomination pools.

Provided Methods

Returns the pending rewards for the member that the AccountId was given for.

Returns the pending rewards for the member that the AccountId was given for.

Trait Implementations

The identifier of the runtime api.
The version of the runtime api.

Implementors