Class ChainGrpcDistributionApi
Methods
fetchDelegatorRewards
- fetchDelegatorRewards(routerAddress: string): Promise<ValidatorRewards[]>
-
Returns Promise<ValidatorRewards[]>
fetchDelegatorRewardsForValidator
- fetchDelegatorRewardsForValidator(__namedParameters: {
delegatorAddress: string;
validatorAddress: string;
}): Promise<Coin[]>
-
Parameters
-
__namedParameters: {
delegatorAddress: string;
validatorAddress: string;
}
-
delegatorAddress: string
-
validatorAddress: string
Returns Promise<Coin[]>
fetchDelegatorRewardsForValidatorNoThrow
- fetchDelegatorRewardsForValidatorNoThrow(__namedParameters: {
delegatorAddress: string;
validatorAddress: string;
}): Promise<Coin[]>
-
Parameters
-
__namedParameters: {
delegatorAddress: string;
validatorAddress: string;
}
-
delegatorAddress: string
-
validatorAddress: string
Returns Promise<Coin[]>
fetchDelegatorRewardsNoThrow
- fetchDelegatorRewardsNoThrow(routerAddress: string): Promise<ValidatorRewards[]>
-
Returns Promise<ValidatorRewards[]>
Get total staking rewards for an account address.
Returns
accounts rewards.