Trait RewardApi
Source pub trait RewardApi: ApiSerializations {
// Required methods
fn get_reward_claim_input<'life0, 'async_trait>(
&'life0 self,
address: Self::Address,
) -> Pin<Box<dyn Future<Output = Result<Self::RewardClaimInput>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_reward_balance<'life0, 'async_trait>(
&'life0 self,
address: Self::Address,
) -> Pin<Box<dyn Future<Output = Result<Self::RewardBalance>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_reward_account_proof<'life0, 'async_trait>(
&'life0 self,
address: Self::Address,
) -> Pin<Box<dyn Future<Output = Result<Self::RewardAccountQueryData>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_reward_balances<'life0, 'async_trait>(
&'life0 self,
height: u64,
offset: u64,
limit: u64,
) -> Pin<Box<dyn Future<Output = Result<Self::RewardBalances>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_reward_merkle_tree_v2<'life0, 'async_trait>(
&'life0 self,
height: u64,
) -> Pin<Box<dyn Future<Output = Result<Self::RewardMerkleTreeData>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}