interface DistributionExtension {
    distribution: {
        communityPool: (() => Promise<QueryCommunityPoolResponse>);
        delegationRewards: ((delegatorAddress, validatorAddress) => Promise<QueryDelegationRewardsResponse>);
        delegationTotalRewards: ((delegatorAddress) => Promise<QueryDelegationTotalRewardsResponse>);
        delegatorValidators: ((delegatorAddress) => Promise<QueryDelegatorValidatorsResponse>);
        delegatorWithdrawAddress: ((delegatorAddress) => Promise<QueryDelegatorWithdrawAddressResponse>);
        params: (() => Promise<QueryParamsResponse>);
        validatorCommission: ((validatorAddress) => Promise<QueryValidatorCommissionResponse>);
        validatorOutstandingRewards: ((validatorAddress) => Promise<QueryValidatorOutstandingRewardsResponse>);
        validatorSlashes: ((validatorAddress, startingHeight, endingHeight, paginationKey?) => Promise<QueryValidatorSlashesResponse>);
    };
}

Properties

Properties

distribution: {
    communityPool: (() => Promise<QueryCommunityPoolResponse>);
    delegationRewards: ((delegatorAddress, validatorAddress) => Promise<QueryDelegationRewardsResponse>);
    delegationTotalRewards: ((delegatorAddress) => Promise<QueryDelegationTotalRewardsResponse>);
    delegatorValidators: ((delegatorAddress) => Promise<QueryDelegatorValidatorsResponse>);
    delegatorWithdrawAddress: ((delegatorAddress) => Promise<QueryDelegatorWithdrawAddressResponse>);
    params: (() => Promise<QueryParamsResponse>);
    validatorCommission: ((validatorAddress) => Promise<QueryValidatorCommissionResponse>);
    validatorOutstandingRewards: ((validatorAddress) => Promise<QueryValidatorOutstandingRewardsResponse>);
    validatorSlashes: ((validatorAddress, startingHeight, endingHeight, paginationKey?) => Promise<QueryValidatorSlashesResponse>);
}

Type declaration

  • communityPool: (() => Promise<QueryCommunityPoolResponse>)
      • (): Promise<QueryCommunityPoolResponse>
      • Returns Promise<QueryCommunityPoolResponse>

  • delegationRewards: ((delegatorAddress, validatorAddress) => Promise<QueryDelegationRewardsResponse>)
      • (delegatorAddress, validatorAddress): Promise<QueryDelegationRewardsResponse>
      • Parameters

        • delegatorAddress: string
        • validatorAddress: string

        Returns Promise<QueryDelegationRewardsResponse>

  • delegationTotalRewards: ((delegatorAddress) => Promise<QueryDelegationTotalRewardsResponse>)
      • (delegatorAddress): Promise<QueryDelegationTotalRewardsResponse>
      • Parameters

        • delegatorAddress: string

        Returns Promise<QueryDelegationTotalRewardsResponse>

  • delegatorValidators: ((delegatorAddress) => Promise<QueryDelegatorValidatorsResponse>)
      • (delegatorAddress): Promise<QueryDelegatorValidatorsResponse>
      • Parameters

        • delegatorAddress: string

        Returns Promise<QueryDelegatorValidatorsResponse>

  • delegatorWithdrawAddress: ((delegatorAddress) => Promise<QueryDelegatorWithdrawAddressResponse>)
      • (delegatorAddress): Promise<QueryDelegatorWithdrawAddressResponse>
      • Parameters

        • delegatorAddress: string

        Returns Promise<QueryDelegatorWithdrawAddressResponse>

  • params: (() => Promise<QueryParamsResponse>)
      • (): Promise<QueryParamsResponse>
      • Returns Promise<QueryParamsResponse>

  • validatorCommission: ((validatorAddress) => Promise<QueryValidatorCommissionResponse>)
      • (validatorAddress): Promise<QueryValidatorCommissionResponse>
      • Parameters

        • validatorAddress: string

        Returns Promise<QueryValidatorCommissionResponse>

  • validatorOutstandingRewards: ((validatorAddress) => Promise<QueryValidatorOutstandingRewardsResponse>)
      • (validatorAddress): Promise<QueryValidatorOutstandingRewardsResponse>
      • Parameters

        • validatorAddress: string

        Returns Promise<QueryValidatorOutstandingRewardsResponse>

  • validatorSlashes: ((validatorAddress, startingHeight, endingHeight, paginationKey?) => Promise<QueryValidatorSlashesResponse>)
      • (validatorAddress, startingHeight, endingHeight, paginationKey?): Promise<QueryValidatorSlashesResponse>
      • Parameters

        • validatorAddress: string
        • startingHeight: number
        • endingHeight: number
        • Optional paginationKey: Uint8Array

        Returns Promise<QueryValidatorSlashesResponse>

Generated using TypeDoc