pub trait PswapDistributionAPI<Block: BlockT, AccountId, Balance>: Core<Block>where
AccountId: Codec,
Balance: Codec + MaybeFromStr + MaybeDisplay,{
// Provided methods
fn claimable_amount(
&self,
__runtime_api_at_param__: &BlockId<Block>,
account_id: AccountId
) -> Result<BalanceInfo<Balance>, ApiError> { ... }
fn claimable_amount_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
account_id: AccountId
) -> Result<BalanceInfo<Balance>, ApiError> { ... }
}
The identifier of the runtime api.
The version of the runtime api.