Skip to main content
Some application may want to be able to discover their or other contract wallets for some specific Jetton Master. For instance some contract may want to obtain and store its jetton wallet for some Jetton to handle transfer notifications from it in 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 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 owner’s address in any format and executing the get method, you obtain the Jetton wallet address. Finally, you can use built-in APIs.