File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @kilnfi/sdk" ,
3- "version" : " 2.17.0 " ,
3+ "version" : " 2.17.1 " ,
44 "autor" :
" Kiln <[email protected] > (https://kiln.fi)" ,
55 "license" : " BUSL-1.1" ,
66 "description" : " JavaScript sdk for Kiln API" ,
Original file line number Diff line number Diff line change @@ -107,18 +107,21 @@ export class TonService extends Service {
107107
108108 /**
109109 * Craft TON send from a vesting contract tx
110+ * @param accountId id of the kiln account to use for the stake transaction
110111 * @param walletAddress sender of the transaction
111112 * @param vestingContractAddress vesting contract address
112113 * @param destinationAddress the destination to which the TON will be sent to
113114 * @param amountTon the amount of TON to send
114115 */
115116 async craftSendFromVestingContractTx (
117+ accountId : string ,
116118 walletAddress : string ,
117119 vestingContractAddress : string ,
118120 destinationAddress : string ,
119121 amountTon : number ,
120122 ) : Promise < TonTx > {
121123 const { data } = await api . post < TonTx > ( `/v1/ton/transaction/send-from-vesting-contract` , {
124+ account_id : accountId ,
122125 wallet : walletAddress ,
123126 vesting_contract_address : vestingContractAddress ,
124127 destination_address : destinationAddress ,
You can’t perform that action at this time.
0 commit comments