Chainstack introduces TON support
![](https://chainstack.com/wp-content/uploads/2024/09/TON-on-Chainstack.png)
We are thrilled to share that we have expanded our list of supported networks with TON. As pioneers in pushing the boundaries of decentralized technology, we understand that for Web3 developers like you, every tool and chain counts.
Hence, we’ve tailored our product updates to help you build, deploy, and scale your DApps on TON more efficiently than ever. Built on our passion for innovation and extensive experience in Web3, this improvement is designed to provide robust and secure interactions with the TON Network.
Let’s explore!
We’ve been building Portfel on Chainstack, and the service level has really stood out. It’s clear the infrastructure is built for stability and performance. Nodes are responsive and uptime’s been outstanding overall.
Dmitry Kisel, CTO at Portfel
How to interact with the TON Network on Chainstack?
Navigating through the turbulent seas of blockchain networks might seem daunting. Numerous chains, each with its own nuances and technicalities, can make interaction and data management a burdensome task. That’s where we step in.
Our phenomenal team at Chainstack has been working relentlessly to provide a smooth and secure API service for interacting with the TON blockchain. This impeccable service offers you easy and convenient access to various TON APIs. Find the details in our guide here.
With Chainstack, we’re equipping you with a trusted companion that allows you to explore the depth of the TON Network, without worrying about going in too deep.
What is the TON Center API v2?
What does the TON Center API v2 bring to the table? It provides real-time access to the TON blockchain, enabling seamless interaction with the network. With a robust set of features, you can easily access account details, explore block and transaction information, run smart contract methods, and send data to the blockchain.
Whether you’re retrieving wallet balances, packing/unpacking addresses, or estimating transaction fees, TON Center API v2 brings this wealth of blockchain data directly to your application in real time. It also offers JSON-RPC support for advanced interaction, making it an indispensable tool for developers looking to build reliable, high-performance applications.
What is the TON Center Index API v3?
Data is the lifeline for developing innovative and complex Web3 applications, and we understand it more than anyone else. The TON Center Index API v3 redefines how you access and analyze blockchain data by providing indexed access to information stored in a PostgreSQL database.
This API offers instant access to detailed blockchain data, including transactions, NFT collections, and Jettons. Unlike v2, which provides real-time data directly from the blockchain, v3 is designed for more complex queries and historical analysis, allowing you to retrieve transaction details, analyze token movements, and explore detailed block and transaction relationships.
Its specialized support for NFTs and Jettons enables developers to query collections, items, transfers, and burns with ease, while advanced transaction queries help you fetch adjacent transactions, transactions by message, and more. The streamlined, indexed approach of v3 ensures efficient and organized data retrieval, making it a powerful tool for building data-driven applications on the TON Network.
TON Center API v2 vs v3
To help you decide which API is best suited for your project, here’s a comparison of TON Center API v2 and v3 based on their core functionalities and use cases:
Feature | TON Center API v2 | TON Center Index API v3 |
Purpose | Real-time interaction with the TON blockchain. | Indexed access to structured blockchain data for complex queries and analysis. |
Data source | Direct data from the TON blockchain. | Indexed data stored in a PostgreSQL database. |
Focus | Real-time queries for account info, transactions, blocks, smart contracts. | Advanced querying for historical data, NFTs, Jettons, and complex transaction queries. |
Use cases | Best for immediate interaction, sending transactions, checking balances, running smart contract methods. | Ideal for retrieving historical data, analyzing NFTs/Jettons, and performing advanced analytics. |
Smart contract interaction | Supports running get methods and sending BOCs. | Supports running get methods, sending messages, and estimating fees. |
NFT and Jetton support | Limited to general blockchain interactions. | Full support for querying NFT collections, items, transfers, and Jetton-related data. |
Transactions | Fetches real-time transaction details and block-specific transactions. | Allows querying of transactions by block, message, adjacent transactions, etc. |
Special features | JSON-RPC support for advanced blockchain operations. | Extensive support for NFTs, Jettons, and historical transaction analytics. |
Efficiency | Real-time data access with straightforward queries. | Indexed database allows for faster, more complex querying of historical data. |
Best for | Applications requiring up-to-date blockchain state and real-time interactions. | Data-heavy applications needing detailed, historical blockchain analysis. |
Summary:
- TON Center API v2 is perfect for real-time blockchain interaction, providing access to current accounts, transactions, blocks, and smart contract methods.
- TON Center Index API v3 is optimized for data-driven applications, offering an indexed view of blockchain data, ideal for historical analysis, NFTs, and Jettons.
Each API serves a different set of use cases, making it easy to choose the one that fits your needs based on whether you prioritize real-time interaction or complex data analysis.
Chainstack Elastic Nodes advantages in the TON ecosystem
As a developer in the Web3 space, you understand the importance of scalability, flexibility, and efficiency. Hence, we’re thrilled to introduce Chainstack Global Elastic Nodes—The cornerstone of agile blockchain development in the TON ecosystem.
Our Elastic Nodes are like flexible building blocks that you can scale and adjust according to your needs. Whether you’re experimenting with new concepts or ready to deploy a large-scale application, Elastic Nodes can effortlessly handle varying load pressures and expansion needs, keeping performance and efficiency paramount.
Embracing Chainstack Global Elastic Nodes means saying ‘yes’ to enhanced transaction speeds, ‘yes’ to spiked productivity, and ‘yes’ to a redefined TON ecosystem interaction experience.
How to run a Chainstack node on TON?
Excited to dive into the world of the TON Network? We’re here to guide you every step of the way. Whether you’re aiming to run a Full Node or an Archive Node, our step-by-step guide will ensure seamless deployment.
Bringing it all together
As we make our mark in the progress of blockchain technology, we are proud to announce these enhancements that we hope will significantly aid our dedicated community of Web3 developers.
The goal is simple: to simplify your developmental workflow, enhance scalability, and open up the world of TON Blockchain to your innovation. We are excited to see the phenomenal applications and projects you create with TON on Chainstack.
Power-boost your project on Chainstack
- Discover how you can save thousands in infra costs every month with our unbeatable pricing on the most complete Web3 development platform.
- Input your workload and see how affordable Chainstack is compared to other RPC providers.
- Connect to Ethereum, Solana, BNB Smart Chain, Polygon, Arbitrum, Base, Optimism, Avalanche, TON, Ronin, zkSync Era, Starknet, Scroll, Aptos, Fantom, Cronos, Gnosis Chain, Klaytn, Moonbeam, Celo, Aurora, Oasis Sapphire, Polygon zkEVM, Bitcoin, Tezos and Harmony mainnet or testnets through an interface designed to help you get the job done.
- To learn more about Chainstack, visit our Developer Portal or join our Discord server and Telegram group.
- Are you in need of testnet tokens? Request some from our faucets. Multi-chain faucet, Sepolia faucet, Holesky faucet, BNB faucet, zkSync faucet, Scroll faucet.
Have you already explored what you can achieve with Chainstack? Get started for free today.