let ticketUUID: String=tryawait fncyWallet.makeTicket(wid:10000, //Wallet IDchainId:3, // bsc: 1, eth: 2, fncy: 3signatureType: TicketType.assetTransfer, toAddress:"0x1234...", //Address to Receive CoinstransferVal:"1000000000000000000", //Quantity to Send (in wei)txGasPrice:"10000000000", //Gas Price (in wei)assetId:6, //Transfer Asset's Asset IDmaxPriorityPerGas:nil, //For ETH TransfersmaxFeePerGas:nil, //For ETH TransferstxGasLimit:21000// Gas Limit)
Transfer Token(Contract Execution)
let ticketUUID: String=tryawait fncyWallet.makeTicket(wid:10000, //Wallet IDchainId:3, // bsc: 1, eth: 2, fncy: 3signatureType: TicketType.smartContract, //toAddress:"0x1234...", //Address to Receive CoinstransferVal:"0", //Quantity to Send (in wei)txGasPrice:"10000000000", //Gas Price (in wei)contractAddress:"0x1234...", //Contract AddresstxInput:"0x123456....", //DataassetId:6, //Transfer Asset's Asset IDmaxPriorityPerGas:nil, //For ETH TransfersmaxFeePerGas:nil, //For ETH TransferstxGasLimit:21000// Gas Limit)
WalletConnect
let ticketUUID: String=tryawait fncyWallet.makeTicket(wid:10000, //Wallet IDchainId:3, // bsc: 1, eth: 2, fncy: 3signatureType: TicketType.walletConnect, //toAddress:"0x1234...", //Address to Receive CoinstransferVal:"1000000000000000000", //Quantity to Send (in wei)txGasPrice:"10000000000", //Gas Price (in wei)contractAddress:"0x1234...", //Contract AddresstxInput:"0x123456....", //DataassetId:6, //Transfer Asset's Asset IDmaxPriorityPerGas:nil, //For ETH TransfersmaxFeePerGas:nil, //For ETH TransferstxGasLimit:21000// Gas Limit)
Check Ticket Information
You can use the issued ticket UUID to search information about that ticket.