Skip to main content

Interface: DistributionQueryExtensionMethods

@shareledgerjs/client.distribution.DistributionQueryExtensionMethods

Methods

communityPool

communityPool(height?): Promise<DecCoin[]>

Parameters

NameType
height?number

Returns

Promise<DecCoin[]>


delegationRewards

delegationRewards(delegatorAddress, validatorAddress, height?): Promise<DecCoin[]>

Parameters

NameType
delegatorAddressstring
validatorAddressstring
height?number

Returns

Promise<DecCoin[]>


delegationTotalRewards

delegationTotalRewards(delegatorAddress, height?): Promise<QueryDelegationTotalRewardsResponse>

Parameters

NameType
delegatorAddressstring
height?number

Returns

Promise<QueryDelegationTotalRewardsResponse>


delegatorValidators

delegatorValidators(delegatorAddress, height?): Promise<string[]>

Parameters

NameType
delegatorAddressstring
height?number

Returns

Promise<string[]>


delegatorWithdrawAddress

delegatorWithdrawAddress(delegatorAddress, height?): Promise<string>

Parameters

NameType
delegatorAddressstring
height?number

Returns

Promise<string>


validatorCommission

validatorCommission(validatorAddress, height?): Promise<undefined | ValidatorAccumulatedCommission>

Parameters

NameType
validatorAddressstring
height?number

Returns

Promise<undefined | ValidatorAccumulatedCommission>


validatorOutstandingRewards

validatorOutstandingRewards(validatorAddress, height?): Promise<undefined | ValidatorOutstandingRewards>

Parameters

NameType
validatorAddressstring
height?number

Returns

Promise<undefined | ValidatorOutstandingRewards>


validatorSlashes

validatorSlashes(validatorAddress, startingHeight, endingHeight, paginationKey?, height?): Promise<QueryValidatorSlashesResponse>

Parameters

NameType
validatorAddressstring
startingHeightnumber
endingHeightnumber
paginationKey?Uint8Array
height?number

Returns

Promise<QueryValidatorSlashesResponse>