ftTransfer takes a single argument of type FtTransferArgs
type FtTransferArgs = {
// The FT contract whose tokens should be transferred.
ftContractAddress: string;
// The recipient of the FT transfer.
receiverId: string;
// The amount of FT to transfer in atomic units. Make sure to check the `decimals` field of this FT smart contracts metadata to avoid errors.
amount: string;
// An optional memo that you wish to send along with the transfer.
memo?: string;
};
Example usage of FT transfer method in a hypothetical React component: