turing-wallet-provider 1.3.3 → 1.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -318,12 +318,12 @@ const params = [{
|
|
|
318
318
|
poolNFT_version?: 2,
|
|
319
319
|
serverProvider_tag?:"",
|
|
320
320
|
serviceFeeRate?:25, // poolNFT_version为2时此参数有效,默认为25
|
|
321
|
-
with_lock?:false //默认值为false,为true则创建带哈希锁的poolNFT
|
|
322
|
-
pubKeyLock?:["pubkey1","pubkey2"]
|
|
321
|
+
with_lock?:false, //默认值为false,为true则创建带哈希锁的poolNFT
|
|
322
|
+
pubKeyLock?:["pubkey1","pubkey2"],
|
|
323
323
|
lpCostAddress?:"",//设置添加流动性扣款地址
|
|
324
324
|
lpCostAmount?:5,//设置添加流动性扣款TBC数量
|
|
325
|
-
lpPlan?:1 //默认值为1
|
|
326
|
-
isLockTime
|
|
325
|
+
lpPlan?:1, //默认值为1
|
|
326
|
+
isLockTime?: false, //是否具备锁仓功能 默认为false
|
|
327
327
|
domain?: "",
|
|
328
328
|
}];
|
|
329
329
|
const { txid } = await wallet.sendTransaction(params);
|