Skip to content

Fix line number in getLibraries link + dton url #530

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

Merged
merged 2 commits into from
Apr 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions docs/develop/data-formats/library-cells.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ Note, that current blueprint version (`@ton/blueprint:0.19.0`) doesn't automatic
Actual for 04.2024 and suppose to be enhanced in the near future.
:::



### Get Methods for Library Cell Based Contracts

You have jetton-wallet with its code stored in a library cell and desire to check balance.
Expand All @@ -110,10 +108,10 @@ For the a library cell, this isn't possible because it doesn't contain data on i


#### Retrieving Library Cell with Liteserver
Liteserver when running get methods automatically set correct library context. If you want to detect type of contract by get methods or run getmethods locally you need to download corresponding cells via LS method [liteServer.getLibraries](https://github.com/ton-blockchain/ton/blob/master/tl/generate/scheme/lite_api.tl#L85).
Liteserver when running get methods automatically set correct library context. If you want to detect type of contract by get methods or run getmethods locally you need to download corresponding cells via LS method [liteServer.getLibraries](https://github.com/ton-blockchain/ton/blob/4cfe1d1a96acf956e28e2bbc696a143489e23631/tl/generate/scheme/lite_api.tl#L96).

#### Retrieving Library Cell with DTon
You can also get library from dton.io/graphql:
You can also get library from [dton.io/graphql](https://dton.io/graphql):
```
{
get_lib(
Expand Down
Loading