transferSPLToken
Transfer SPL token to a recipient.
_17const recipientAddress = "C64RkD2jnvrFF8mi9FUBwfhNHuuiPuRMzCLRSWcyJKUG"_17const tokenMint = "5WCTV62V2X7iXdRdre73omXcF5agaYq3vj5kCXp6Mzdc"_17const tokenDecimals = 6_17const amount = 200000_17_17const transactionResult = await mirrorworld.transferSPLToken({_17 recipientAddress,_17 amount,_17 tokenMint,_17 tokenDecimals,_17})_17_17// Returns `ITransferSPLTokenResponse`_17export interface ITransferSPLTokenResponse {_17 status: string;_17 txSignature: string;_17}
Edit this page on GitHub