Interface: DistributionQueryExtensionMethods
@shareledgerjs/client.distribution.DistributionQueryExtensionMethods
Methods
communityPool
▸ communityPool(height?
): Promise
<DecCoin
[]>
Parameters
Name | Type |
---|---|
height? | number |
Returns
Promise
<DecCoin
[]>
delegationRewards
▸ delegationRewards(delegatorAddress
, validatorAddress
, height?
): Promise
<DecCoin
[]>
Parameters
Name | Type |
---|---|
delegatorAddress | string |
validatorAddress | string |
height? | number |
Returns
Promise
<DecCoin
[]>
delegationTotalRewards
▸ delegationTotalRewards(delegatorAddress
, height?
): Promise
<QueryDelegationTotalRewardsResponse
>
Parameters
Name | Type |
---|---|
delegatorAddress | string |
height? | number |
Returns
Promise
<QueryDelegationTotalRewardsResponse
>
delegatorValidators
▸ delegatorValidators(delegatorAddress
, height?
): Promise
<string
[]>
Parameters
Name | Type |
---|---|
delegatorAddress | string |
height? | number |
Returns
Promise
<string
[]>
delegatorWithdrawAddress
▸ delegatorWithdrawAddress(delegatorAddress
, height?
): Promise
<string
>
Parameters
Name | Type |
---|---|
delegatorAddress | string |
height? | number |
Returns
Promise
<string
>
validatorCommission
▸ validatorCommission(validatorAddress
, height?
): Promise
<undefined
| ValidatorAccumulatedCommission
>
Parameters
Name | Type |
---|---|
validatorAddress | string |
height? | number |
Returns
Promise
<undefined
| ValidatorAccumulatedCommission
>
validatorOutstandingRewards
▸ validatorOutstandingRewards(validatorAddress
, height?
): Promise
<undefined
| ValidatorOutstandingRewards
>
Parameters
Name | Type |
---|---|
validatorAddress | string |
height? | number |
Returns
Promise
<undefined
| ValidatorOutstandingRewards
>
validatorSlashes
▸ validatorSlashes(validatorAddress
, startingHeight
, endingHeight
, paginationKey?
, height?
): Promise
<QueryValidatorSlashesResponse
>
Parameters
Name | Type |
---|---|
validatorAddress | string |
startingHeight | number |
endingHeight | number |
paginationKey? | Uint8Array |
height? | number |
Returns
Promise
<QueryValidatorSlashesResponse
>