Skip to main content

Interface: DistributionTxExtensionMethods

@shareledgerjs/client.distribution.DistributionTxExtensionMethods

Methods

fundCommunityPool

fundCommunityPool(depositor, amount): MsgFundCommunityPoolEncodeObject

Parameters

NameType
depositorstring
amountCoin[]

Returns

MsgFundCommunityPoolEncodeObject


setWithdrawAddress

setWithdrawAddress(delegatorAddress, withdrawAdress): MsgSetWithdrawAddressEncodeObject

Parameters

NameType
delegatorAddressstring
withdrawAdressstring

Returns

MsgSetWithdrawAddressEncodeObject


withdrawCommissions

withdrawCommissions(validatorAddress): MsgWithdrawValidatorCommissionEncodeObject

Parameters

NameType
validatorAddressstring

Returns

MsgWithdrawValidatorCommissionEncodeObject


withdrawRewards

withdrawRewards(delegatorAddress, validatorAddress): MsgWithdrawDelegatorRewardEncodeObject

Parameters

NameType
delegatorAddressstring
validatorAddressstring

Returns

MsgWithdrawDelegatorRewardEncodeObject