Some applications may want to be able to discover their own or other contract wallets for a specific Jetton Master.
For instance, some contracts may want to obtain and store their Jetton wallet for Jetton to handle transfer notifications from it in a specific way.
To compute the address of a Jetton wallet from the address of its owner (a regular user wallet),
the Jetton master contract provides the get_wallet_address (slice owner_address) method.
Or if you are sure about the structure of Jetton wallet’s initial persistent storage and know its code, you
can also manually create StateInit of the Jetton wallet and thus calculate its address.
Use this method with great care, as the c4 of Jetton wallet contracts is not specified.
There are also various web services that allow you to call contract’s get methods without writing any code.
For example, let’s inspect the Tether USD master
contract page on Tonviewer. Inserting the owner’s address in any format and executing the get method, you obtain the Jetton wallet address.
Finally, you can use built-in APIs.