File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -103,12 +103,14 @@ export class AtomService extends Service {
103103
104104 /**
105105 * Craft atom redelegate transaction
106+ * @param accountId id of the kiln account to use for the new stake
106107 * @param pubkey wallet pubkey, this is different from the wallet address
107108 * @param validatorSourceAddress validator address of the current delegation
108109 * @param validatorDestinationAddress validator address to which the delegation will be moved
109110 * @param amountAtom how many tokens to redelegate in ATOM
110111 */
111112 async craftRedelegateTx (
113+ accountId : string ,
112114 pubkey : string ,
113115 validatorSourceAddress : string ,
114116 validatorDestinationAddress : string ,
@@ -118,6 +120,7 @@ export class AtomService extends Service {
118120 const { data } = await api . post < AtomTx > (
119121 `/v1/atom/transaction/redelegate` ,
120122 {
123+ account_id : accountId ,
121124 pubkey : pubkey ,
122125 validator_source : validatorSourceAddress ,
123126 validator_destination : validatorDestinationAddress ,
You can’t perform that action at this time.
0 commit comments