Ton Console – Telegram
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
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.
Indexing is stopped. We are fixing the problem
👏4
Fixed
👏4
We have some troubles with indexing new NFTs or changing meta for existing. We investigate the problem
👍6
We have had an outage since 9:35 UTC till 10:40 UTC.

At the moment tonapi is mostly recovered but we still do not process requests to
- /v1/nft/getItems
- /v1/nft/searchItems

we will post an update when functionality will be completely restored.
👍5👌2
tonapi operation completely restored since 12:10 UTC
👍4
Channel name was changed to «TonApi Announcements»
📣 TonApi updates

Here are some updates to TonApi.io that we roll out in August.

1. Basic methods for TON DNS
You can now resolve the .ton domain name and fetch extended info for it.

/v1/dns/getInfo
/v1/dns/resolve


2. New method for traces
Trace is a new concept that we introduce in TonApi to represent the entire user's action as a whole. Trace is defined as a tree of all transactions and messages created by smart contracts as a result of processing an external message.

Example: when you send a token, a trace would include a signed message to your wallet, a message to your jetton contract, a message to recipient's jetton contract and a notification message to the recipient's wallet.

/v1/trace/getAnnotatedTrace

3. Early support for Getgems auctions
Getgems auctions are currently detected as plain sale contracts. This is a temporary solution; we will add a dedicated status "auction" later.

4. Strongly typed metadata for jetton tokens
Jetton address, name, symbol and decimal points are explicitly defined attributes.

/v1/jetton/getInfo

📄 All changes in OpenAPI format:
https://github.com/tonkeeper/tonapi/pull/8
👍4❤‍🔥2🔥2
tonapi is down since 16:30 UTC.

We are investigating the issue.
👎4
Since 17:10 UTC we gradually restored tonapi availability.

Now it works completely nominal.
👍4🤡1
You can help us to test subnoscription to new transactions for account:
URL: "wss://tonapi.io/v1/subscribe/ws"
Request:
{"id": 1, "jsonrpc": "2.0", "method": "subscribe_account", params:["EQDaaxtmY6Dk0YzIV0zNnbUpbjZ92TJHBvO72esc0srwv8K2", "-1:3333333333333333333333333333333333333333333333333333333333333333"]}

The method is under development and can be changed any moment.
Limited by 10000 accounts in one connection.
All questions and remarks - @subden
🤔2
We are starting planned testnet tonapi maintenance. Expected downtime duration ~2 hours.
👍3