mrtnetwork / ton_dart

Ton Dart streamlines transaction management and crypto ops in the Ton network. It supports Wallet Contract, Highload Wallet, and Jetton contracts.
MIT License
6 stars 5 forks source link

Use memo when sending jetticons #1

Closed Imdavyking closed 3 months ago

Imdavyking commented 3 months ago

First and foremost, I really love your work 🙏👌 How do I use memo when sending jetticons?

Imdavyking commented 3 months ago

found how to do it final tx = await jettonWallet.transfer( privateKey: privateKey, rpc: getRpc(), destination: TonAddress(to), forwardTonAmount: forwardTonAmount, jettonAmount: transferAmount, amount: feeAmount + forwardTonAmount, bounce: false, forwardPayload: memo == null ? null : TransactioUtils.buildMessageBody(memo), );