The Open Network (TON) is rapidly gaining traction as a high-performance blockchain platform designed for scalability, speed, and user-friendly decentralized applications. For developers looking to integrate with TON without managing their own node infrastructure, third-party Web3 API providers like GetBlock offer a streamlined solution. This guide walks you through how to access and use GetBlock’s TON API via private RPC endpoints—enabling fast, reliable blockchain interaction with minimal setup.
Whether you're building dApps, querying blockchain data, or deploying smart contracts, understanding how to leverage HTTP-based APIs is essential. Below, we break down the process step by step while highlighting key features, usage examples, and practical insights.
How to Access TON Blockchain Endpoints
Getting started with TON through GetBlock is simple and requires no complex infrastructure. By using GetBlock's API service, developers can instantly connect to the TON network via secure, scalable endpoints. Here’s how:
1. Create a GetBlock Account
To begin, visit the GetBlock website and click on the "Get Started for Free" button. You can register using your email address or connect directly via MetaMask wallet—offering flexibility and faster onboarding for Web3 users.
Once registered, log in to access your dashboard where you’ll manage all your blockchain endpoints.
👉 Discover seamless blockchain connectivity with a trusted infrastructure provider.
2. Select the TON Blockchain
After logging in, navigate to the "My Endpoints" section of your dashboard. From the Protocols dropdown menu, select TON. Then choose your preferred network (mainnet or testnet) and API type—either JSON-RPC or JSON-RPC (v2)—depending on your development needs.
This selection ensures that your endpoint is configured specifically for TON’s architecture and communication standards.
3. Generate Your Endpoint URL
Click the “Get” button to generate your unique TON endpoint URL. All GetBlock endpoints follow this standardized format:
https://go.getblock.io/[ACCESS-TOKEN]/Each access token acts as a secure identifier tied to your account, eliminating the need for additional authentication headers or API keys. These tokens are easy to manage—you can generate multiple ones, rotate them if compromised, or delete unused endpoints to maintain security and organization.
With your endpoint ready, you can now interact with the TON blockchain—query balances, retrieve transaction data, send BOCs, and more—without running a full node.
Free Tier Access and Usage Limits
GetBlock offers a generous free tier to help developers get started:
- 40,000 free requests per day
- Rate limit of up to 60 requests per second (RPS)
- Daily reset of request quota
- Usable across all supported blockchains, including TON
This makes it ideal for testing, prototyping, or small-scale projects. The free plan works across shared endpoints, allowing cost-effective access during early development stages.
For applications requiring higher throughput or production-grade reliability, paid plans are available.
Choose the Right Node Plan for Your Needs
GetBlock provides two main service tiers: Shared Nodes and Dedicated Nodes, each suited to different use cases.
Shared Nodes
Perfect for individual developers and startups, shared nodes offer an affordable way to access TON infrastructure:
- Multiple users share the same node resources
- Increased rate limits: up to 200 RPS
- Ideal for low-to-moderate traffic dApps
- Cost-effective option for limited budgets
Shared nodes reduce entry barriers for new projects while still delivering reliable performance. They’re great for learning, experimentation, or MVP development.
As your app grows, you can seamlessly upgrade your plan or transition to a dedicated node.
Dedicated Nodes
For enterprise-level applications and high-demand dApps, dedicated nodes provide maximum control and performance:
- Exclusive access to a single node
- No request limits
- Access to archive nodes, custom configurations, and global server locations
- Priority support and enhanced service quality
Dedicated nodes ensure consistent latency, higher availability, and full resource allocation—critical for mission-critical applications scaling on TON.
👉 Scale your blockchain application with robust API infrastructure.
Using GetBlock’s TON HTTP API: Practical Examples
Now that your endpoint is set up, let’s explore real-world API usage with common JSON-RPC calls.
Common API Request Examples
Use curl or any HTTP client to make requests to your generated endpoint. Here's an example retrieving a wallet balance:
curl --location --request GET 'https://go.getblock.io/[ACCESS-TOKEN]/getAddressBalance?address=EQDXZ2c5LnA12Eum-DlguTmfYkMOvNeFCh4rBD0tgmwjcFI-' \
--header 'Content-Type: application/json'Replace [ACCESS-TOKEN] with your actual token. The response returns the balance in nanotons, TON’s smallest unit.
Other useful methods include:
getAddressState: Check if an address is uninitialized, active, or frozengetMasterchainInfo: Retrieve current masterchain statusgetTokenData: Get NFT or Jetton details linked to a TON accountpackAddress: Convert raw addresses into human-readable formatsendBoc: Send serialized BOC files (e.g., transactions or contract deployments) to the network
For full reference, consult GetBlock’s official TON JSON-RPC documentation.
Deploying Smart Contracts on TON
Developers can deploy smart contracts directly using GetBlock’s endpoint in combination with TON SDKs (like ton, ton-core, or ton-client). Simply configure the client library to point to your GetBlock URL:
const client = new TonClient({
endpoint: "https://go.getblock.io/[ACCESS-TOKEN]/"
});From there, you can compile contracts, sign messages off-chain, and broadcast deployment transactions—streamlining development workflows.
Frequently Asked Questions (FAQ)
Q: Is GetBlock compatible with all TON development tools?
A: Yes. Since GetBlock provides standard JSON-RPC endpoints, it integrates seamlessly with most TON SDKs, frameworks, and testing environments.
Q: Do I need coding experience to use GetBlock’s TON API?
A: Basic programming knowledge is recommended, especially in JavaScript or Python. However, the API is well-documented and beginner-friendly for those learning blockchain development.
Q: Can I switch from shared to dedicated nodes later?
A: Absolutely. You can upgrade your plan at any time through the dashboard based on your traffic and performance requirements.
Q: Are my API requests secure?
A: Yes. Each access token is unique and encrypted. Avoid sharing it publicly, especially in client-side code or GitHub repositories.
Q: Does GetBlock support TON testnet?
A: Yes. During endpoint setup, you can select either mainnet or testnet to facilitate safe testing before going live.
Q: What happens when I exceed my free request limit?
A: On the free plan, excess requests may be throttled until the next day’s reset. Upgrading to a paid plan removes these restrictions.
👉 Unlock advanced blockchain capabilities with optimized API access.
Final Thoughts
GetBlock simplifies blockchain development by offering instant access to TON via reliable HTTP APIs. With flexible pricing, easy setup, and robust functionality—from balance checks to smart contract deployment—it empowers developers at every stage.
By removing the burden of node management, GetBlock allows builders to focus on innovation rather than infrastructure. Whether you're launching a simple wallet app or scaling a complex dApp ecosystem on The Open Network, leveraging a trusted API provider accelerates time-to-market and improves reliability.
Start building today—harness the power of TON with minimal friction and maximum efficiency.
Core Keywords:
TON API, The Open Network, blockchain endpoint, JSON-RPC, smart contract deployment, Web3 infrastructure, GetBlock TON