Skip to content

Commit 363a129

Browse files
Update cookbook.mdx
1 parent 8e7adc1 commit 363a129

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/v3/guidelines/dapps/cookbook.mdx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -615,9 +615,12 @@ asyncio.run(main())
615615

616616
### How to calculate a user's jetton wallet address (offline)?
617617

618-
Although it is a common approach, calling the GET method every time to retrieve the wallet address can be slow and resource-intensive. However, if you know the jetton wallet code and storage structure, you can calculate the wallet address without making network requests.
618+
Although it is a common approach, [calling the GET method](/v3/guidelines/smart-contracts/get-methods#calling-get-methods-from-code) every time to retrieve the wallet address can be slow and resource-intensive.
619+
However, if you know the jetton wallet code and storage structure, you can calculate the wallet address without making network requests.
619620

620-
For example, using Tonviewer, you can get the jetton master contract address (e.g., `EQAJ8uWd7EBqsmpSWaRdf_I-8R8-XHwh3gsNKhy-UrdrPcUo`). If we [go to this address](https://tonviewer.com/EQAJ8uWd7EBqsmpSWaRdf_I-8R8-XHwh3gsNKhy-UrdrPcUo?section=method) and open the Methods tab, we can see that there is already a `get_jetton_data` method there. By calling it, we can get the hex form of the cell with the jetton wallet code:
621+
For example, using Tonviewer, you can get the jetton master contract address (e.g., `EQAJ8uWd7EBqsmpSWaRdf_I-8R8-XHwh3gsNKhy-UrdrPcUo`).
622+
If we [go to this address](https://tonviewer.com/EQAJ8uWd7EBqsmpSWaRdf_I-8R8-XHwh3gsNKhy-UrdrPcUo?section=method) and open the Methods tab, we can see that there is already a `get_jetton_data` method there.
623+
By calling it, we can get the hex form of the cell with the jetton wallet code:
621624

622625
```
623626
b5ee9c72010101010023000842020f1ad3d8a46bd283321dde639195fb72602e9b31b1727fecc25e2edc10966df4

0 commit comments

Comments
 (0)