Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to transfer jettons from subwallets using highload wallet? #199

Open
gtors opened this issue May 27, 2024 · 2 comments
Open

How to transfer jettons from subwallets using highload wallet? #199

gtors opened this issue May 27, 2024 · 2 comments

Comments

@gtors
Copy link

gtors commented May 27, 2024

How to pack multiple Jetton transfers into single external message using a highload wallet? Didn't find any example

To be more clear, I'm trying to implement this one: https://docs.ton.org/develop/dapps/asset-processing/jettons#withdrawals-made-from-deposits

Thanks in advance.

@xssnick
Copy link
Owner

xssnick commented May 27, 2024

Hi, see jetton transfer example, line where msg is generated, and see highload wallet example. So you just need to build many msg from jetton transfer example and add them to single slice, then pass to SendManyWaitTxHash, but keep in mind that maximum external message size is 64 kb, so try to not add too much transfers (hundreds) into single tx.

@gtors
Copy link
Author

gtors commented May 27, 2024

Thanks, I will try it

p.s.: the library is awesome 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants