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.
Post #21
805