pub trait RewardsAPIClient<BlockHash, EthAddress, VecBalanceInfo>: ClientTwhere
    BlockHash: Send + Sync + 'static + Serialize,
    EthAddress: Send + Sync + 'static + Serialize,
    VecBalanceInfo: Send + Sync + 'static + DeserializeOwned,{
    // Provided method
    fn claimables<'life0, 'async_trait>(
        &'life0 self,
        eth_address: EthAddress,
        at: Option<BlockHash>
    ) -> Pin<Box<dyn Future<Output = Result<VecBalanceInfo>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait { ... }
}
Expand description

Client implementation for the RewardsAPI RPC API.

Provided Methods§

source

fn claimables<'life0, 'async_trait>( &'life0 self, eth_address: EthAddress, at: Option<BlockHash> ) -> Pin<Box<dyn Future<Output = Result<VecBalanceInfo>> + Send + 'async_trait>>where Self: Sync + 'async_trait, 'life0: 'async_trait,

Implementors§

source§

impl<TypeJsonRpseeInteral, BlockHash, EthAddress, VecBalanceInfo> RewardsAPIClient<BlockHash, EthAddress, VecBalanceInfo> for TypeJsonRpseeInteralwhere TypeJsonRpseeInteral: ClientT, BlockHash: Send + Sync + 'static + Serialize, EthAddress: Send + Sync + 'static + Serialize, VecBalanceInfo: Send + Sync + 'static + DeserializeOwned,