const PublicMint from '@publicmint/publicmint-web3';
const web3 = new PublicMint(2019); // 'testNet'
// Method to convert USD to native token units
// 0x4389Af2E0515dDFe3453B1bD748aDfD5e2598cFd
const walletAccountPrivateKey1 = "0xba6cdfcc795484a9774eb98e756983da822ef3481b37d4ba649864e2d1ab4e5e";
wallet.add(walletAccountPrivateKey1);
const destinationAccount = '0x994e6a8c5F4c15FD004B6DAcb305cC1213C5503B';
// 10 USD will be converted to small unit using toToken function
await web3.pm.wallet.accounts.transfer(destinationAccount, toToken(10))