TON chain ID, RPC URL and network config
Last updated:
TON network identifiers
| Identifier | Value | Source |
|---|---|---|
| Chain ID | NoneTON is not an EVM network; it is identified by its global ID. | TON docs: config param 19 (global ID) |
| Global ID (network ID) | -239Config param 19. Testnet uses -3. | TON docs: how to interact with wallets · TON docs: config param 19 (global ID) |
| Workchains | 0 (basechain), -1 (masterchain)Wallets and contracts live on the basechain. | TON docs: how to interact with wallets |
| CAIP-2 ID | tvm:-239The chain identifier multichain wallets and WalletConnect use. | CAIP-2 tvm namespace |
Tools that expect an EVM chain ID do not apply to TON; multichain wallets use the CAIP-2 ID tvm:-239 instead.
TON RPC URLs
| Triport RPC URL (header auth) | https://triport.io/rpc/ton |
|---|---|
| Triport RPC URL (keyed) | https://triport.io/r/<API_KEY>/ton |
| Required scope | ton:rpc |
| Network-run public RPC | TON's documentation points to the TON Center API, which allows 1 request per second without an API key. TON docs: TON Center rate limits |
Public-endpoint limits are as each operator publishes them, checked 23 September 2026.
Plans and per-category rate limits: pricing. Network overview: TON RPC; method reference: TON documentation.
Verify you are on TON mainnet
Call getConfigParam first. It must return a cell holding 0xFFFFFF11, which is -239 as a signed 32-bit integer — any other value means the endpoint serves a different network.
curl https://triport.io/rpc/ton \
-H "x-token: <API_KEY>" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"getConfigParam","params":{"config_id":19}}'Sources: the chain's own documentation and the CAIP-2 namespace specs cited in the tables above; EVM chain IDs come from Triport's chain registry and match them.
FAQ
- What is the TON chain ID?
- TON has no EVM chain ID. The network is identified by its global ID, -239 on mainnet (-3 on testnet), stored in config param 19; the CAIP-2 ID is tvm:-239. Addresses also carry a workchain: 0 for the basechain, -1 for the masterchain.
- What is the TON RPC URL?
- On Triport: https://triport.io/rpc/ton with your API key in the x-token header, or https://triport.io/r/<API_KEY>/ton where a header is impossible (wallets, config files).
- Can I add TON to MetaMask with wallet_addEthereumChain?
- No. wallet_addEthereumChain registers EVM networks by chain ID, and TON is not an EVM network. Use a TON wallet or SDK and point it at the RPC URL above.
- Is my API key sent to Triport when I use this page?
- No. Snippets are generated in your browser: the key is never submitted, never stored and never written into the page URL, which is why this page has no shareable link.