Chainstack GEN 2.0 已上线:Solana 、Ethereum 、Base 以及 GlobalNodes 上的所有链的延迟均有所降低。 了解新功能
  • 代理
  • 定价

TON RPC endpoints for Telegram Mini Apps

Read balances, track Jetton transfers, and power Telegram Mini Apps with reliable, high-performance TON RPC infrastructure.

TON
https://ton-mainnet.core.chainstack.com/YOUR_ENDPOINT_ID
创建端点
主页小工具“Stars”徽标
get mcp.chainstack.com, deploy TON mainnet RPC node and give me the HTTPS endpoint
ThorFi弹片RFOX奥多斯TradingView瑞波圆彭德尔Trust Wallet币安GoldskyCertiKBlockpourNumio强盗NexoCoinGeckoUniDexVaiVLaunchWorkinmanZapperBitgetTrust WalletAori银色KaikoQuantstamp

Fast TON RPC, right where you need it

全球Node

Geo-balanced RPCBuilt for Mini Apps

Connect to TON mainnet or testnet through one geo-balanced endpoint. Access API v2, v3, and v4 for account reads, indexed token data, and block streams without running your own node.

全球区块链node 网络示意图

Your full development stack for TON

Read live account state, query indexed Jetton data, stream blocks, and scale TON workloads with one development stack.

Build and scale with reliable TON RPC

首页 基础设施图标 1 徽标

Build Telegram Mini Apps

Connect wallet-enabled Mini Apps to TON account data and transaction status. Pair TON Connect for user signatures with Chainstack RPC for backend reads and payment tracking.

Explore TON tooling
主页 Infra Icon 2 徽标

Track USDT and Jetton payments

Query indexed Jetton transfers, verify token master addresses, and reconcile deposits and payouts. Follow message outcomes before marking a payment as settled.

Explore Jetton transfers
主页 Infra Icon 3 徽标

Power wallets and portfolios

Read native balances and Jetton holdings, retrieve transaction history, and submit signed messages. Build account views with TON-native SDKs and indexed APIs.

Explore TON APIs
主页 Infra Icon 4 徽标

Build TON DeFi applications

Run smart contract get-methods, read pool state, and follow indexed transaction traces. Use node reads or processed data to match your application’s freshness requirements.

Choose a TON API
主页 Infra Icon 5 徽标

Index NFTs and digital assets

Retrieve NFT collections, items, transfers, and metadata through API v3. Connect asset ownership and transaction history to marketplaces and consumer applications.

Get a TON RPC endpoint
每日API调用量超过10B+Chainstack
全球10余个Chainstack 数据中心
全天候支持服务
99.99%以上的运行时间

开发者为何选择Chainstack

来自在支持的网络上使用Chainstack 开发钱包、安全工具、分析工具和交易应用的团队的反馈。

4.9/5简体中文(大陆)39 条评论G2

Fast TON RPC with predictable costs

Power wallets and Telegram Mini Apps with geo-balanced TON APIs. Choose flat-fee Unlimited Node capacity for sustained workloads, or Dedicated Nodes with direct ADNL access for native network integrations.

Get a TON endpoint

TON faucet: free testnet tokens

Fund your wallet. Build on TON.

Get free testnet tokens from the Chainstack TON faucet. Test wallet flows, deploy contracts, and exercise Jetton transfers before moving to TON mainnet.

Top up an eligible wallet to 1 testnet GRAM, with a claim available every 24 hours. Test tokens have no monetary value and cannot pay mainnet fees.

Get testnet tokens (在新标签页中打开)
Chainstack 测试网水龙头示意图

Connect to TON RPC

Read a wallet’s native balance with getAddressBalance through TON API v2.

HTTPS · TON API v2 JSON-RPC
https://ton-mainnet.core.chainstack.com/YOUR_ENDPOINT_ID/api/v2/jsonRPC
WebSocket · TON API v4 blocks
wss://ton-mainnet.core.chainstack.com/YOUR_ENDPOINT_ID/api/v4/block/watch

Create a TON node and copy your endpoint from 访问权限和凭据. 替换 YOUR_ENDPOINT_ID with your endpoint ID. The request uses the documented /api/v2/jsonRPC route.

TON Mainnet
curl --request POST \
  --url https://ton-mainnet.core.chainstack.com/YOUR_ENDPOINT_ID/api/v2/jsonRPC \
  --header 'Content-Type: application/json' \
  --data '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getAddressBalance",
  "params": {
    "address": "EQDtFpEwcFAEcRe5mLVh2N6C0x-_hJEM7W61_JLnSF74p4q2"
  }
}'

该 result is a balance string in nanotons. This is a read-only request; it does not send a transaction.

查看方法参考 (在新标签页中打开)

TON RPC pricing

Start with free TON RPC for mainnet or testnet. Scale wallets and Mini Apps with higher throughput, flat-fee capacity, and dedicated infrastructure.

适合各种工作负载的高性价比方案

起价每月40美元起(按年付费)
了解付费套餐 (在新标签页中打开)
来源: 20M 请求包括每月比较与转换 (在新标签页中打开)
  • 更高的吞吐量和更大的node 配额

所有开发者功能,此外还包括:

  • More monthly request units Growth+
  • 扩展程序Growth+
  • 专用Nodes Pro+
  • 单点登录Pro+
  • 基于角色的访问控制Business+
  • 用户数量不限Business+
查看所有功能 (在新标签页中打开)

附加组件和专用的Node 基础设施将分别计费。

用户徽标每种付费套餐均提供卓越的支持服务
适用于符合条件的团队

每月在RPC基础设施上的支出超过2,000美元?

我们的精英级按需付费套餐可为您节省超过50%的费用

Telegram在Telegram上聊天 (在新标签页中打开)

Build on TON with Chainstack Labs

探索我们开发者体验团队推出的开源项目。参考实用指南,观看操作演示,并根据您的应用需求修改代码。

常见问题解答
What is TON RPC?

TON RPC gives applications programmatic access to The Open Network. Use it to read account balances, call smart contract get-methods, retrieve transactions, and submit signed messages. TON is not EVM-compatible: its HTTP APIs and native ADNL protocol differ from Ethereum’s eth_* methods. See the TON API reference.

How do I get a free TON RPC endpoint?

Create a free Chainstack account, create a project, and deploy a TON Global Node on mainnet or testnet. Open Access and credentials to copy your endpoint URL. The Developer plan includes 3 million request units per month, up to 25 requests per second, and one node. No credit card is required.

What are the TON mainnet and testnet RPC URLs?

Your authenticated base URLs follow https://ton-mainnet.core.chainstack.com/YOUR_ENDPOINT_ID 以及 https://ton-testnet.core.chainstack.com/YOUR_ENDPOINT_ID. For v2 JSON-RPC, append /api/v2/jsonRPC. API v3 uses /api/v3, and Global Nodes also serve v4 at /api/v4. Copy your node’s full URL from 访问权限和凭据. See TON API setup.

Should I use TON API v2, v3, or v4?

Use v2 for direct node reads, smart contract get-methods, and signed-message submission. Use v3 for indexed transactions, Jettons, NFTs, and traces. Use v4 for block-pinned account reads, TonClient4, and WebSocket block streams on Global Nodes. v3 data can lag behind node reads while indexing catches up. Compare TON API v2, v3, and v4.

How do I check a TON wallet balance?

致电 getAddressBalance through the v2 API with the wallet’s address. The balance is returned as a string in nanotons, with one billion nanotons per native coin. This reads the native balance, not a Jetton balance. Use v3 Jetton wallet methods for token balances. See the getAddressBalance reference.

Can I build Telegram Mini Apps with a TON RPC endpoint?

Yes. Use a TON RPC endpoint for backend blockchain reads, transaction tracking, and signed-message submission. Use TON Connect to request wallet connections and user signatures in your application. RPC infrastructure does not replace Telegram’s Mini App APIs or TON Connect. See TON tooling and the official TON toolset.

How do I track USDT and other Jetton transfers on TON?

Use the v3 indexer’s /jetton/transfers endpoint to retrieve Jetton transfer records and /jetton/wallets for wallet data. Validate the Jetton master address rather than trusting a token symbol alone. For payment reconciliation, track transaction and message outcomes rather than treating submission as settlement. See the Jetton transfers reference.

Does Chainstack TON RPC support WebSockets?

Yes. TON API v4 on Global Nodes offers /block/watch for new masterchain blocks and /block/watch/changed for changed accounts. Use your authenticated v4 URL with the wss:// scheme and the required route. Streams can skip block sequence numbers, so fetch missing blocks when completeness matters. See TON API v4 routes.

Is TON archive data available, and how is it billed?

Chainstack’s TON documentation states that all historical data is available on every node, on mainnet and testnet. Full requests cost 1 request unit; archive requests cost 2. getTransactions is always archive. Block-based methods become archive when the requested sequence number is at least 128 behind the relevant chain tip. See TON request-unit rules.

What is ADNL, and does Chainstack support it?

ADNL is TON’s low-level network protocol. Chainstack Dedicated TON Nodes support ADNL for applications that need direct network-layer access. Global Nodes provide the application-facing HTTP APIs instead. Dedicated Nodes start from the Pro plan, with infrastructure billed separately. See TON tooling and ADNL access.

Which libraries work with Chainstack TON endpoints?

Use TonWeb or TonClient for compatible v2 integrations. Use TonClient4 from @ton/ton with your Global Node’s /api/v4 endpoint. Direct HTTP requests also work with JavaScript fetch and Python requests. Native liteserver libraries require ADNL connection details rather than an HTTPS URL. Follow the TON tooling guide.

Where can I get free TON testnet tokens?

Use the Chainstack TON testnet faucet to fund an eligible test wallet. The faucet currently tops balances up to 1 testnet GRAM, with a claim available every 24 hours. Test tokens have no monetary value and cannot pay mainnet fees. Connect your application and wallet to TON testnet.

TON RPC API: mainnet, testnet, and API versions

Connect to Chainstack’s TON mainnet or testnet endpoint to read account state, query Jetton and NFT data, execute smart contract get-methods, and submit serialized signed messages. Use /api/v2/jsonRPC for v2 JSON-RPC calls such as getAddressBalance, runGetMethod,以及 sendBoc. API v3 provides indexed transactions, messages, Jettons, NFTs, and traces. See the TON API reference.

On Global Nodes, TON API v4 uses /api/v4 for block-pinned reads and WebSocket block streams. Match your SDK to its API surface: TonClient4 uses v4, while compatible TonWeb and TonClient integrations use v2. ADNL access is available on Dedicated Nodes. Historical data is available on every TON node; requests consume 1 RU for full data or 2 RUs for archive data according to the method and block depth. See API version guidance 以及 TON billing rules.