pub trait PswapDistributionAPIClient<BlockHash, AccountId, BalanceInfo>: ClientTwhere
BlockHash: Send + Sync + 'static + Serialize,
AccountId: Send + Sync + 'static + Serialize,
BalanceInfo: Send + Sync + 'static + DeserializeOwned,{
// Provided method
fn claimable_amount<'life0, 'async_trait>(
&'life0 self,
account_id: AccountId,
at: Option<BlockHash>
) -> Pin<Box<dyn Future<Output = Result<BalanceInfo>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait { ... }
}
Expand description
Client implementation for the PswapDistributionAPI
RPC API.