Learn how to build on the decentralized web
Account Abstraction Wallet
SDK Functions
Transfer

Transfer functions

const pendingTx = await(
  await smartwallet.transfer.transfer({
    dumbWallet: storedWallet.dumbWallet,
    smartWalletAddress: storedWallet.smartWalletAddress,
    destinationAddress,
    amount: parseCurrencyAmount(
      smartwallet.chain.currency.toCurrency({ tokenAddress: MATIC }),
      tokenAmountBeforeWeiConversion
    ),
  })
).sendFree();
await smartwallet.transactions.getTransactionConfirmation(pendingTx);