Ton Console – Telegram
We have some really exciting news to share with you about the TonAPI project. We've just launched tonconsole.com, a portal that brings together a range of services for Ton developers, with TonAPI at the heart of it all.
And that's not all - we're thrilled to announce the release of the latest version of TonAPI, v2. This new version is lightning-fast and comes packed with a host of new features, including GraphQL API and streaming API.
As more and more developers have started using TonAPI, we've noticed a rise in infrastructure costs. So, we've decided to make TonAPI a paid service. But don't worry - we've still got a free version that allows up to 0.25 requests per second (free limit will be increased soon) and up to 10 simultaneous requests per IP address. If you need more, just head over to tonconsole.com to check out our pricing plans (we also going to reconsider the pricing plan soon, to make it flexible and cheap).
We've also released an open-source, self-hosted version of TonAPI, which can be accessed via https://github.com/tonkeeper/opentonapi.
And this is just the beginning - we have plans to launch many more Ton builder services inside tonconsole. It's like the Google Cloud for the TON ecosystem! We'd love to hear your feedback and any feature requests you may have, so please leave us a comment.
🔥7👍4💩3🤡2😭2👏1
Do you use tonapi?
Anonymous Poll
51%
Yes
30%
No
18%
I used it but stopped
👍3
TON API released the version 2.0. Will you switch to it when the V1 one stops?
Anonymous Poll
33%
Yes
11%
No, i don't use it
57%
No, I will move to another API provider
We've received numerous requests to support testnet on our v2 API version, and we're thrilled to announce that it's now available online.

Additionally, we wanted to thank you for your valuable feedback on our pricing structure for Tonconsole. We have taken all of your comments and suggestions into consideration and updated our prices accordingly. Going forward, all prices will be listed in US dollars.

This means that when a withdrawal is taking place, we will calculate the current value of Toncoins in US dollars and withdraw the appropriate amount. We believe this change will provide greater clarity and consistency in our pricing, making it easier for our users to understand their costs and manage their accounts.

We're also excited to announce that we've raised the limits for our free accounts. Users on our free plan can now make up to 1 request per second, giving you even greater capabilities and flexibility to test and explore our API services.

We hope these changes will better meet your needs and allow you to get the most out of our services.
👍5🔥2👏1🙏1🤡1
We are currently experiencing issues with TonAPI on the testnet. We apologize for the inconvenience and kindly ask for your patience as we work to resolve this matter promptly.
Our issues was fixed but TON testnet still can be unstable. We work together with core team for preventing same problem in the future.
4👍3💩1
Channel name was changed to «Ton Console»
We wanted to remind you of two new features that we have recently launched, which we believe could be of great benefit to your projects:

1) Streaming API – We are now offering a streaming API, which allows you to connect to our blockchain and receive real-time updates on transactions for specific addresses or a list of addresses. We offer both WebSockets and SSE to give you the flexibility to choose the method that best suits your needs.

2) Mempool – This feature enables you to monitor any external messages sent via Tonkeeper even before they were processed by blockchain.

We hope that these new features will be of use to you and your projects. Our team is constantly working to improve our platform and add new functionality, so please don't hesitate to reach out to us with any feedback or suggestions.

Check out the docs:
https://docs.tonconsole.com/tonapi/streaming-api
❤‍🔥43🤡3💩1
We have two new methods available for you to utilize when working with jettons on TON.

https://tonapi.io/
👍7🤡6💩3
Good news everyone!
We have corrected CORS headers, even for non-200 responses.

Also, we have added a few methods:
1) /v2/events/emulate, /v2/traces/emulate, /v2/wallet/emulate and /v2/accounts/{account_id}/events/emulate for emulating external (and internal) mesages.

2) /v2/accounts/{account_id}/reindex - forces the reindexing of an account by sending a message to it. This can be useful if you have changed the collection and want to reindex all items.

3) /v2/accounts/search - useful for implementing autocomplete in your app.

4) /v2/accounts/{account_id}/publickey and /v2/tonconnect/stateinit will help you if you are integrating Ton Connect but don't want to work with cells and TVM.
👍9🙏32👎2🍓2
An small but long awaited update:
/v2/accounts/{account_id}/nfts now supports optional parameter collection for filtering user NFTs by an collection.
👍9🔥3
Today at 06:30 UTC we had 15 minutes delay of indexing new blocks and transactions + an service degradation 30 minutes later (bigger latency, sometimes 500 responses).
👎4
Client-side Tokens

If you want to use our TonAPI in your client-side dapp, you may face a dilemma: should you be bound by free limits or give access to your token to anyone?

We are delighted to announce that we now offer a special token that allows you to control the usage limits per client IP. This means you can enjoy the benefits of our TonAPI while maintaining control and privacy over your token.
9👍4🤔2
📢 Good morning! Here are July API Updates, we prepared for you!

1. Search Transactions by Message Hash: You can now easily find transactions using the message hash. Access it through /v2/blockchain/messages/{msg_id}/transaction.
2. Search Events and Traces by Message Hash: Expanding the capabilities of /v2/events/{hash} and /v2/traces/{hash} methods. They now accept the message hash, allowing you to search for events and traces linked to sent messages. Please note, this feature doesn't support non-unique hashes, but wallet hashes are typically unique.
3. Introducing /v2/liteserver/... Methods: Access raw data directly from the liteserver via HTTP instead of ADNL, making it convenient for you. You can even check proofs on your side now, if you prefer.
4. Get All Jettons: Simplifying the process of obtaining all jettons. Use the endpoint /v2/jettons to access them effortlessly.
5. Find Wallets by Public Key: A new endpoint, /v2/pubkeys/{public_key}/wallets, lets you locate wallets associated with a specific public key effortlessly.
6. Improved API Price Data: Our API price data has undergone significant enhancement, providing you with more accurate and up-to-date information for your analyses and applications!

As always, your feedback is invaluable, so feel free to reach out in the comments. Happy coding! 🚀

https://docs.tonconsole.com/tonapi/api-v2
🔥5👍43🤔1
Great news for all ton developers! We will now be posting updates for tonviewer.com, one of our amazing projects and a useful tool for you, right here on this channel.

During the past month, we've significantly improved tonviewer.com and added new features like realtime updates and annotation for dex-swaps. But that's not all. We've just rolled out an exciting feature- a graphical annotation for a new locker contract! We're thrilled about this new addition and can't wait for you all to try it out.

Stay connected to this channel for all the latest enhancements and additions to tonviewer.com! Thank you for being with us!
🔥9👍3😁3
We don't check signature right now in our "emulations" methods of Tonapi. But we are going to enable it for all methods except /v2/wallet/emulate. Please be careful.

/v2/events/emulate
/v2/traces/emulate
/v2/accounts/{account_id}/events/emulate
👍4
We're working on some substantial upgrades to improve the functionality of decoded message bodies. Those enhancements may disrupt backward compatibility so we kindly invite you to assist us in making informed decisions by participating in the vote below. Your input is highly valued and will greatly contribute to our decision-making process.

1. Update on Ref types structure from:
"some_type_stored_in_cell_ref": {"value": somevalue}
to:
"some_type_stored_in_cell_ref": somevalue

2. Update forward_payload for NFTs and jettons. Old:
forward_payload: "hex_encoded_boc"
New:
forward_payload: {Type: "DedustSwap", Value: {MinAmountOut: "100500"}}
or
forward_payload: {Type: "Cell", Value: "hex_encoded_boc"}
👍52👌2👏1
UPD: we will deploy changes first on dev platform and you will have time for make changes in your code.
👎2💩1
Hi! We made some changes to the decoded message body. You can now test it on https://beta.tonapi.io. This is a complete operating API for the mainnet with all the authorization, limits, tokens, access levels, and other stuff, but on running on a new index version.

This API endpoint (beta.tonapi.io) will become available from September 19 through September 30 guaranteed. We’re switching current API endpoint (tonapi.io) to the new index at 12:00 AM on Friday UTC+3.

Endpoint Changes:

- /v2/blockchain/blocks/{block_id}/transactions
- /v2/blockchain/transactions/{hash}
- /v2/blockchain/messages/{hash}/transaction
- /v2/blockchain/accounts/{account}/transactions
- /v2/wallet/emulate
- /v2/traces/{hash}

Field Changes:

- decoded_body in the Message type.

General Changes:

- Removed extra wrappers: {value: {something}} > {something}.
- Token and NFT transfers got a new forward_paylod callback: now it’s not a hex line but a structure with a type and value.
👍174💊2💩1