neodix42 / ton4j

Java libraries for interacting with TON blockchain.
GNU General Public License v3.0
76 stars 27 forks source link

contents of the wallet. #22

Closed farsait-lt closed 3 months ago

farsait-lt commented 5 months ago

Please tell me how to view all the contents of the wallet (address), the presence of tokens, collections, and in general anything else that may be there?

neodix42 commented 3 months ago

wallet balance can be obtained using getAccountState(). tokens data you can get usinggetJettonData() browse for more examples here https://github.com/neodix42/ton4j/tree/main/smartcontract/src/test/java/org/ton/java/smartcontract