Interface: DistributionTxExtensionMethods
@shareledgerjs/client.distribution.DistributionTxExtensionMethods
Methods
fundCommunityPool
▸ fundCommunityPool(depositor, amount): MsgFundCommunityPoolEncodeObject
Parameters
| Name | Type |
|---|---|
depositor | string |
amount | Coin[] |
Returns
MsgFundCommunityPoolEncodeObject
setWithdrawAddress
▸ setWithdrawAddress(delegatorAddress, withdrawAdress): MsgSetWithdrawAddressEncodeObject
Parameters
| Name | Type |
|---|---|
delegatorAddress | string |
withdrawAdress | string |
Returns
MsgSetWithdrawAddressEncodeObject
withdrawCommissions
▸ withdrawCommissions(validatorAddress): MsgWithdrawValidatorCommissionEncodeObject
Parameters
| Name | Type |
|---|---|
validatorAddress | string |
Returns
MsgWithdrawValidatorCommissionEncodeObject
withdrawRewards
▸ withdrawRewards(delegatorAddress, validatorAddress): MsgWithdrawDelegatorRewardEncodeObject
Parameters
| Name | Type |
|---|---|
delegatorAddress | string |
validatorAddress | string |