1.0.2 • Published 2 years ago

stable-sdk v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

stable-transfer

/**
 * 发送稳定币交易
 * @param fromAddress 当前用户地址
 * @param fromAsset 源链资产
 * @param toAsset 目标链资产
 * @param amountIn 源链入金
 * @param crossChainFee 跨链手续费
 * @param orderId 订单号
 * @param signAddress 多签地址
 * @returns {Promise<{msg: string, success: boolean}|*>}
 */
import {stableTransfer} from "./index";

const res = await stableTransfer(fromAddress, fromAsset, toAsset, amountIn, crossChainFee, orderId, signAddress);
console.log(res.hash);
1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago