import { Transaction } from '@mysten/sui/transactions';const tx = new Transaction();// Transfer 1 SUI (1_000_000_000 MIST)tx.transferObjects( [tx.splitCoins(tx.gas, [1_000_000_000])], '0x...recipient...');tx.setSender(senderAddress);
const tx = new Transaction();// Call function that creates objectconst [newObject] = tx.moveCall({ target: '0xPACKAGE::nft::mint', arguments: [ tx.pure.string('NFT Name'), tx.pure.string('Description'), ],});// Transfer the created objecttx.transferObjects([newObject], recipient);