Let's go international. From now on only English! (Russian English of course)
Maybe you ask yourself "which library do they use for parsing blockchain and make so cool api". I want to introduce you https://github.com/startfellows/tongo - golang library for working with TON blockchain.
It doesn't have documentation at all. But it can ADNL, liteclient protocol, automatically can marshal/unmarshal structures to bytes by TL schemes or to Cell by TLB schemes. Similar to "encoding/json" but for tlb and tl.
Maybe you ask yourself "which library do they use for parsing blockchain and make so cool api". I want to introduce you https://github.com/startfellows/tongo - golang library for working with TON blockchain.
It doesn't have documentation at all. But it can ADNL, liteclient protocol, automatically can marshal/unmarshal structures to bytes by TL schemes or to Cell by TLB schemes. Similar to "encoding/json" but for tlb and tl.
GitHub
GitHub - tonkeeper/tongo: Golang SDK for from Tonkeeper team
Golang SDK for from Tonkeeper team. Contribute to tonkeeper/tongo development by creating an account on GitHub.
❤4👍2
Method /v1/annotation/getByAccount deprecated and will be removed in next big update. For replacing will be introduced new method.
🤔1
In authorization API new field address was added and apiToken changed to user_token. Method: /v1/oauth/getApiToken
TonApi has a big update today! We make significant improvements to the NFT API and introduce experimental support for events and actions as high-level abstraction over the TON transactions.
Here is the detailed list of changes:
1. Method /v1/annotation/getByAccount has been removed.
2. The field interfaces has been removed from the method /v1/blockchain/account. The method now returns only the raw blockchain data. For more detailed account info please use the new method /v1/account/getInfo.
3. You can now send transactions via TonApi using the method /v1/send/boc.
4. TonApi now indexes on-chain metadata for NFT and Jettons per TIP-64.
5. We add two new methods for working with NFTs: /v1/nft/searchItems and /v1/nft/getItems.
6. We deprecate /v1/nft/getItemsByOwnerAddress, /v1/nft/getItem, /v1/nft/getItemsByCollectionAddress and /v1/nft/getNftForSale. These methods will be removed in the future; please use the two new methods instead (searchItems, getItems).
7. These two methods return links to the preview images and we add transparent support for IPFS.
8. Two new methods for events: /v1/event/getAccountEvents and /v1/event/getEvent. Currently we support only the basic events such as transfers of TON and tokens. We will add more and improve the API in the upcoming updates. You can find the details in the draft specification: https://github.com/tonkeeper/tonapi#events
You can test all changes on https://dev.tonapi.io/ instead of https://tonapi.io/. At 12:00 today it will be shipped to production.
Here is the detailed list of changes:
1. Method /v1/annotation/getByAccount has been removed.
2. The field interfaces has been removed from the method /v1/blockchain/account. The method now returns only the raw blockchain data. For more detailed account info please use the new method /v1/account/getInfo.
3. You can now send transactions via TonApi using the method /v1/send/boc.
4. TonApi now indexes on-chain metadata for NFT and Jettons per TIP-64.
5. We add two new methods for working with NFTs: /v1/nft/searchItems and /v1/nft/getItems.
6. We deprecate /v1/nft/getItemsByOwnerAddress, /v1/nft/getItem, /v1/nft/getItemsByCollectionAddress and /v1/nft/getNftForSale. These methods will be removed in the future; please use the two new methods instead (searchItems, getItems).
7. These two methods return links to the preview images and we add transparent support for IPFS.
8. Two new methods for events: /v1/event/getAccountEvents and /v1/event/getEvent. Currently we support only the basic events such as transfers of TON and tokens. We will add more and improve the API in the upcoming updates. You can find the details in the draft specification: https://github.com/tonkeeper/tonapi#events
You can test all changes on https://dev.tonapi.io/ instead of https://tonapi.io/. At 12:00 today it will be shipped to production.
GitHub
Token Data Standard · Issue #64 · ton-blockchain/TIPs
⚠️ WARNING: Standards are now published and discussed in the TEPs repository. This page may be out of date. Summary A standard interface for tokens (meta)data (in particular NFT or Jettons). Motiva...
👍3🏆1
Minor update for tonapi.
Improved events and actions (now correct support for jettons transfers).
Few methods are marked as deprecated. Be careful - they will be removed in the future. Please check your code.
New methods for sending transactions and estimating their result and fees. Now estimating supports only basic action "ton transfers" but improvements and simulating full chain of transactions is comming.
https://tonapi.io/swagger/
Known bugs: indexing history (AccountEvents) has to big latency (up to 10 minutes).
Improved events and actions (now correct support for jettons transfers).
Few methods are marked as deprecated. Be careful - they will be removed in the future. Please check your code.
New methods for sending transactions and estimating their result and fees. Now estimating supports only basic action "ton transfers" but improvements and simulating full chain of transactions is comming.
https://tonapi.io/swagger/
Known bugs: indexing history (AccountEvents) has to big latency (up to 10 minutes).
🔥3👍2
Also new SDK for TypeScript is available - https://github.com/startfellows/tonapi-sdk-js.
If you need SDK for over languages please contact @subden
If you need SDK for over languages please contact @subden
GitHub
GitHub - startfellows/tonapi-sdk-js: Autogenerated SDK for tonapi.io
Autogenerated SDK for tonapi.io. Contribute to startfellows/tonapi-sdk-js development by creating an account on GitHub.
We accept pull request with additional information about jettons. It required for displaying social links and over data not from the blockchain in our explorer. Also it will be used for marking jettons as "trusted" in Tonkeeper.
https://github.com/tonkeeper/ton-assets/tree/main/jettons - template and example are in the repo.
https://github.com/tonkeeper/ton-assets/tree/main/jettons - template and example are in the repo.
GitHub
ton-assets/jettons at main · tonkeeper/ton-assets
Contribute to tonkeeper/ton-assets development by creating an account on GitHub.
👍7
New version.
Fixed bug with big latency for indexing history. Added validated info about dns names.
From now on the swagger file (and his diffs can be tracked in public repo). Example for current update:
https://github.com/tonkeeper/tonapi/pull/5
New JS SDK is also available for downloading.
Fixed bug with big latency for indexing history. Added validated info about dns names.
From now on the swagger file (and his diffs can be tracked in public repo). Example for current update:
https://github.com/tonkeeper/tonapi/pull/5
New JS SDK is also available for downloading.
GitHub
add more info to nft items by mr-tron · Pull Request #5 · tonkeeper/tonapi
Documentation for tonapi.io. Contribute to tonkeeper/tonapi development by creating an account on GitHub.