turing-wallet-provider 1.5.0 → 1.5.1
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 +6 -0
- package/dist/types/providerTypes.d.ts +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -320,6 +320,8 @@ interface RequestParam {
|
|
|
320
320
|
lockTime?: number | string; // 锁仓至指定区块高度(POOLNFT 相关),或冻结至指定 unix 时间戳(STABLECOIN_FREEZE),大数请使用 string
|
|
321
321
|
broadcastEnabled?: boolean;
|
|
322
322
|
mint_message?: string; // 铸造/增发跨链信息(STABLECOIN_CREATE / STABLECOIN_MINT 使用)
|
|
323
|
+
utxo_txid?: string; // 目标 UTXO 的交易 ID(STABLECOIN_FREEZE / STABLECOIN_UNFREEZE 使用)
|
|
324
|
+
utxo_index?: number; // 目标 UTXO 的输出索引(STABLECOIN_FREEZE / STABLECOIN_UNFREEZE 使用)
|
|
323
325
|
}
|
|
324
326
|
|
|
325
327
|
const params = [param: RequestParam];
|
|
@@ -750,6 +752,8 @@ const params = [
|
|
|
750
752
|
flag: "STABLECOIN_FREEZE", // 必填
|
|
751
753
|
ft_contract_address: "", // 必填,稳定币合约交易 ID(STABLECOIN_CREATE 返回的第一个 txid)
|
|
752
754
|
address: "", // 必填,被冻结的目标地址
|
|
755
|
+
utxo_txid: "", // 必填,目标稳定币 UTXO 的交易 ID
|
|
756
|
+
utxo_index: 0, // 必填,目标稳定币 UTXO 的输出索引
|
|
753
757
|
lockTime: 1774410989, // 必填,冻结至指定 unix 时间戳
|
|
754
758
|
broadcastEnabled: true, // 可选,默认 true
|
|
755
759
|
domain: "", // 可选
|
|
@@ -771,6 +775,8 @@ const params = [
|
|
|
771
775
|
flag: "STABLECOIN_UNFREEZE", // 必填
|
|
772
776
|
ft_contract_address: "", // 必填,稳定币合约交易 ID(STABLECOIN_CREATE 返回的第一个 txid)
|
|
773
777
|
address: "", // 必填,被解冻的目标地址
|
|
778
|
+
utxo_txid: "", // 必填,目标稳定币 UTXO 的交易 ID
|
|
779
|
+
utxo_index: 0, // 必填,目标稳定币 UTXO 的输出索引
|
|
774
780
|
broadcastEnabled: true, // 可选,默认 true
|
|
775
781
|
domain: "", // 可选
|
|
776
782
|
},
|