Skip to main content

The Open Network RPC (TON)

Free public endpoints

TON is a proof-of-stake Layer 1 that splits work across a masterchain and sharded workchains and runs smart contracts in the TON Virtual Machine.

99.9%
4
24/7
FREE
Gateway

Connect to The Open Network

Free endpoints for every network below. Tatum Premium covers production traffic.

Connect to The Open Network Gateway

Make your first RPC call on The Open Network's Blockchain Gateway.

Mainnet

Mainnet
Mainnet Explorer
V3 - Indexer
https://ton-mainnet.gateway.tatum.io/api/v3
V2 - TON HTTP API
https://ton-mainnet.gateway.tatum.io

Testnet

Testnet
Testnet Explorer
V3 - Indexer
https://ton-testnet.gateway.tatum.io/api/v3
V2 - TON HTTP API
https://ton-testnet.gateway.tatum.io

* Rate limit 5 requests per minute, enough for testing and development. Need more? Get a free API key for a higher limit, or upgrade for production.

Ready for production?

Get 200 requests/second, priority support and advanced blockchain features.

Global Load Balancer

Route to nearest node

Batch RPC Calls

Multiple requests at once

Archive Nodes

Historical blockchain data

Debug & Trace

Advanced debugging

Advanced Analytics

Usage & performance

Bring Your Own RPC

Custom RPC gateways

Upgrade
Get Free API Key

Increase your limit and access all network features in Tatum Development Platform.

Accessible to Everyone

No signup. No paywalls. Just RPC that works. Great ideas come from everywhere.

Our Mission

With love by Tatum

Method reference

The Open Network methods

Every method the The Open Network gateway accepts, grouped by interface. 55 in total, read live from the node rather than kept by hand.

Mainnet is the live The Open Network network. Every transaction it accepts is final, and every TON balance it reports is real money.

Testnet answers the same methods on a network funded with tokens that have no market value. Develop there, then change the URL to Mainnet when the code is stable. Nothing else about your integration has to change.

The Open Network answers over 2 interfaces: V3 - Indexer and V2 - TON HTTP API. Each is listed once below with every method it accepts. The endpoints differ per network, and all of them are in the gateway list above.

What sits between you and The Open Network

A node is a machine running The Open Network with a copy of the chain. Your code cannot ask the chain directly, it asks a node. The gateway picks a healthy one for every call, so you point at one URL instead of one machine.

  • One URL, nothing to run or keep patched yourself.
  • Calls routed to a node that is up and in sync.
  • A failing node is skipped rather than returned to you as an error.

V3 - Indexer

27 methods
https://ton-mainnet.gateway.tatum.io/api/v3

Every resource has its own URL, so a request is just an address you can open.

Paste it into a browser, curl it, or bookmark it. There is no body to construct and no method name to look up, and because a read is a plain GET, ordinary HTTP caching applies at the CDN and in your own client. Responses are JSON, and the path itself usually tells you what you are getting.

Where it fits

  • Getting oriented on an unfamiliar chain without writing any code first.
  • Caching, because a GET can be cached by anything sitting between you and the node.
  • Debugging, since the request that failed is a URL you can paste to a colleague.

Trade-offs

  • You get exactly what the endpoint returns. There is no way to ask for less, or for more.
  • Building a full picture takes several round trips where one batched JSON-RPC call would do.
  • Paths carry version prefixes and shift between node releases more readily than method names do.

Enabled and tested methods

Read live from the endpoint, so this is what it actually serves today rather than what the protocol allows in principle. Anything not on this list returns a method-not-found error.

GET /accountStates
Returns the state of several accounts in one request.
GET /actions
Lists decoded actions, which group raw messages into meaningful operations.
GET /addressBook
Returns the address book entries for a set of addresses.
GET /addressInformation
Returns the balance, state and code of an account.
GET /adjacentTransactions
Returns the transactions immediately before and after a given one.
GET /blocks
Returns a range of blocks with their extrinsics and events.
GET /events
Lists chain events.
GET /jetton/burns
Lists jetton burn events.
GET /jetton/masters
Lists jetton master contracts and their metadata.
GET /jetton/transfers
Lists jetton transfer events.
GET /jetton/wallets
Lists jetton wallet contracts and their balances.
GET /masterchainBlockShards
Lists the shard blocks a masterchain block commits to.
GET /masterchainBlockShardState
Returns the shard state referenced by a masterchain block.
GET /masterchainInfo
Returns the newest and oldest masterchain blocks the node holds.
GET /messages
Lists messages, the units of communication between TON contracts.
GET /nft/collections
Lists NFT collections and their metadata.
GET /nft/items
Lists NFT items and their owners.
GET /nft/transfers
Lists NFT transfer events.
GET /topAccountsByBalance
Lists the accounts holding the largest balances.
GET /transactions
Lists transactions, newest first.
GET /transactionsByMasterchainBlock
Lists the transactions committed under a masterchain block.
GET /transactionsByMessage
Finds the transactions that produced or consumed a message.
GET /walletInformation
Returns wallet balance, sequence number and detected wallet type.
GET /walletStates
Returns wallet state for several addresses in one request.
POST /estimateFee
Estimates the fees a message will incur.
POST /message
Submits a signed external message to the network.
POST /runGetMethod
Calls a get method on a contract, read-only.

Common V3 - Indexer errors

What you are most likely to hit calling this interface, and what to do about it.

400
Bad request. A path or query parameter is malformed. Check the parameter format, and that path values are URL-encoded.
404
Not found. Either the path is wrong, or the resource genuinely does not exist at that height. Confirm the path against the list above. A valid path can still 404 for pruned history on a non-archive node.
429
Rate limited. You have exceeded the free tier request allowance. Back off and retry. REST responses cache well, so caching on your side removes most repeat traffic.
500
Internal server error. The node failed while handling the request. Retry with backoff.
503
Service unavailable. The node is starting, resyncing, or temporarily out of rotation. Retry with backoff; this is normally short-lived.

V2 - TON HTTP API

28 methods
https://ton-mainnet.gateway.tatum.io

Enabled and tested methods

Read live from the endpoint, so this is what it actually serves today rather than what the protocol allows in principle. Anything not on this list returns a method-not-found error.

GET /detectAddress
Reports which address formats a string is valid in.
GET /getAddressBalance
Returns the balance of an account.
GET /getAddressInformation
Returns the balance, state and code of an account.
GET /getAddressState
Returns whether an account is uninitialised, active or frozen.
GET /getBlockHeader
Returns the header of a block.
GET /getBlockTransactions
Lists the transactions in a block.
GET /getBlockTransactionsExt
Lists the transactions in a block with their full bodies.
GET /getConfigParam
Returns one network configuration parameter.
GET /getConsensusBlock
Returns the block the network currently agrees on.
GET /getExtendedAddressInformation
Returns account information with the wallet type decoded.
GET /getMasterchainBlockSignatures
Returns the validator signatures on a masterchain block.
GET /getMasterchainInfo
Returns the newest and oldest masterchain blocks the node holds.
GET /getShardBlockProof
Returns a proof linking a shard block to the masterchain.
GET /getTokenData
Returns the data of a jetton or NFT contract.
GET /getTransactions
Returns the transactions of an account.
GET /getWalletInformation
Returns wallet balance, sequence number and detected wallet type.
GET /lookupBlock
Finds a block by workchain, shard and sequence number, time or logical time.
GET /packAddress
Converts a raw address into its user-friendly form.
GET /tryLocateResultTx
Finds the transaction that received a given outgoing message.
GET /tryLocateSourceTx
Finds the transaction that sent a given incoming message.
GET /tryLocateTx
Finds the transaction matching a source, destination and logical time.
GET /unpackAddress
Converts a user-friendly address into its raw form.
POST /estimateFee
Estimates the fees a message will incur.
POST /jsonRPC
Accepts any of these methods as a JSON-RPC call on a single endpoint.
POST /runGetMethod
Calls a get method on a contract, read-only.
POST /sendBoc
Submits a signed message serialised as a bag of cells.
POST /sendBocReturnHash
Submits a bag-of-cells message and returns the resulting hash.
POST /sendQuery
Submits a query message to a contract.

Common V2 - TON HTTP API errors

What you are most likely to hit calling this interface, and what to do about it.

400
Bad request. A path or query parameter is malformed. Check the parameter format, and that path values are URL-encoded.
404
Not found. Either the path is wrong, or the resource genuinely does not exist at that height. Confirm the path against the list above. A valid path can still 404 for pruned history on a non-archive node.
429
Rate limited. You have exceeded the free tier request allowance. Back off and retry. REST responses cache well, so caching on your side removes most repeat traffic.
500
Internal server error. The node failed while handling the request. Retry with backoff.
503
Service unavailable. The node is starting, resyncing, or temporarily out of rotation. Retry with backoff; this is normally short-lived.
Blockchain Data

Indexed The Open Network Data Insights

Complete on-chain data access, no infrastructure to run yourself. Query wallets, tokens, NFTs, and transaction history through one API.

Learn more

About The Open Network

What it is, and guides for building on it.

TON validators reach consensus with Catchain 2.0, a protocol based on Simplex. Every account is a smart contract executed by the TON Virtual Machine, and contracts interact through asynchronous messages, so one operation can span several transactions. Addresses combine a workchain ID (0 for the basechain, -1 for the masterchain) with an account ID, in raw or user-friendly base64 form, and TON pays for computation, storage, and message forwarding. Nodes speak the binary ADNL protocol, so HTTP APIs wrap it.

FAQ

Frequently Asked Questions

Everything you need to know about The Open Network RPC endpoints

Quick Answer: What is The Open Network RPC?

RPC (Remote Procedure Call) is the standard way to interact with the network programmatically: reading on-chain data and submitting transactions through the chain's RPC methods. The free tier allows 5 requests per minute with no registration required, which covers most learning and testing workflows. Production applications typically move to Tatum Premium for 200 requests per second.

What is The Open Network RPC?

RPC (Remote Procedure Call) is the interface that lets developers interact with the network: read on-chain data and submit transactions over the chain's standard RPC methods, without running your own node.

How do I connect to The Open Network using these RPC endpoints?

Simply copy the endpoint URL from above and use it as the node URL in your The Open Network client library, SDK, or command line tool. The endpoint works immediately with no registration required for the free tier.

What are the rate limits for the free RPC tier?

Free tier RPC endpoints are limited to 5 requests per minute. That is enough for testing and development. For production applications, we recommend upgrading to Tatum Premium which offers 200 requests per second with no daily limits.

When should I upgrade to Premium?

Consider upgrading to Premium when you're moving to production, need higher rate limits (200 req/sec), require a 99.9% uptime SLA, want access to archive nodes for historical data, or need advanced features like batch RPC calls, debug/trace methods, and priority support.

Is The Open Network RPC free forever?

Yes. Our free tier RPC endpoints are free forever with 5 requests per minute. This tier covers learning, testing, and small projects. There are no hidden fees or time limits on the free tier.

What happens if I exceed the free tier rate limit?

If you exceed 5 requests per minute on the free tier, you'll receive an HTTP 429 (Too Many Requests) error. This is a standard rate limiting response. To avoid this, you can upgrade to Tatum Premium which offers 200 requests per second with no daily limits, which suits production applications.

Are these RPC endpoints secure?

Yes. All our RPC endpoints are served over HTTPS and run on Tatum's infrastructure.

What's the difference between mainnet and testnet RPC endpoints?

Mainnet carries real transactions with real value, so every write is final. Testnet runs on a separate network funded with free test tokens, which makes it the safe place to try new code, retry failed calls, and simulate edge cases. Always validate on testnet before pointing production traffic at mainnet.

How do I troubleshoot RPC connection errors?

If you're experiencing connection errors, check: 1) The RPC endpoint URL is correct, 2) You're not exceeding rate limits (5 req/min for free tier), 3) Your network allows HTTPS connections, 4) The network is currently operational. For persistent issues, check our status page or contact support.

Can I use these endpoints in production?

Free tier endpoints can be used in production for low-traffic applications (under 5 req/min). For production apps with higher traffic, we strongly recommend Tatum Premium for guaranteed uptime, faster rate limits, and enterprise SLA.
Related Blockchains

Discover RPC endpoints for other popular blockchain networks