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

address parameters #21

Closed
farsait-lt opened this issue Jun 24, 2024 · 1 comment
Closed

address parameters #21

farsait-lt opened this issue Jun 24, 2024 · 1 comment

Comments

@farsait-lt
Copy link

please tell me how to get a list of all tokens and their denominations belonging to the address?
Also in the address parameters there are CODE and DATA fields, what do they contain?

@neodix42
Copy link
Owner

neodix42 commented Aug 3, 2024

Tonlib tonlib = Tonlib.builder()
        .ignoreCache(false)
        .build();

log.info("balance: {}", ContractUtils.getJettonBalance(
        tonlib,
        Address.of(<address-of-jetton-master-wallet>),
        Address.of(<your-address>)
));

regarding code+data fields, please read the documentation https://docs.ton.org/participate/wallets/contracts

@neodix42 neodix42 closed this as completed Aug 3, 2024
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