Ton Console – Telegram
Channel created
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.
4👍2
Method /v1/annotation/getByAccount deprecated and will be removed in next big update. For replacing will be introduced new method.
🤔1
Broken. We are fixing
😱2
fixed
🔥2
Indexation temporary stopped. Data can be non-actual. ETA 5-10 minute
Production is online. Dev server is out of sync.
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.
👍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).
🔥3👍2
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.
👍7