Trait rewards_rpc::RewardsAPIClient
source · 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.