Indexed TONBlockchain Data
TON shards itself by construction: shardchains split and merge with load on a proof-of-stake Layer 1 where every account is a contract and contracts reach each other by message.
How to query TON data with SonarX
Instant Data Share
Available todaySnowflake, and file dumps to your object storage
Query TON blockchain data with plain SQL from a live database inside your own Snowflake account, populated with the indexed chain dataset. There is no pipeline to build and no second copy to store. The same dataset ships as file dumps to your own object storage for lakes and warehouses that are not Snowflake.
- Full history as a Snowflake data-share
- File dumps to S3 or your own object storage
- Real-time delivery, current to chain tip — on request
Used for:
- Analytics teams already on Snowflake that want TON data beside their existing tables
- Fund accounting and treasury reporting that reconciles against a fixed history
- Cross-chain questions answered in one SQL statement instead of one query per chain
- Loading TON history into BigQuery, Databricks, Redshift or a Spark lake
- Replacing a self-hosted indexer and the engineering time that keeps it running
- Serving one governed dataset to several desks without copying it per team
Curated Datasets
Available todayPurpose-built tables
Protocol-level TON datasets modelled for one job, so the decoding and the joins are done before the data reaches you.
- Tokens and payments
Used for:
- Position-level TON lending, swap and liquidity analysis
- Reward, delegation and validator reporting without rebuilding the model
- Token distribution, holder and payment-flow reporting
- Risk and exposure work that needs protocol state, not raw logs
- Skipping the decoding layer an in-house team would have to maintain
- Extending an existing TON share with a modelled slice
Realtime API
Enabled on requestREST over the indexed dataset
Query indexed TON records over REST, reading the same dataset the share reads, with no warehouse in the path.
Used for:
- Applications that need one answer rather than a table scan
- Customer-facing screens where query latency is visible to a user
- Services that have no data warehouse and do not want to run one
- Prototyping against production data before committing to a share
- Backend checks that run per request instead of per batch
- Teams that want indexed TON data behind their own API layer
TON data: frequently asked questions
What is TON?
TON, The Open Network, is a Layer 1 that Telegram’s engineers designed and that Telegram then walked away from in 2020, under pressure from an SEC action against its token sale. Independent developers have run the network since. It is sharded by construction: a masterchain carries consensus and configuration, workchains sit beneath it, and shardchains split and merge as load moves instead of staying a fixed set. Blocks are produced by a proof-of-stake validator set under Catchain, a Byzantine fault-tolerant protocol. Execution runs on the TON Virtual Machine, where code and data are both stored as cells. Every account is a smart contract, wallets included, and contracts never call each other directly: they send messages that are processed in later blocks, so one user action can span several of them. The native asset is Toncoin, ticker TON, divisible into a billion nanotons. Fungible tokens follow the jetton standard, which gives each holder a wallet contract per token rather than an entry in a ledger inside the token contract.
TON data on SonarX
SonarX indexes TON as the protocol produces it: masterchain and shard blocks, transactions, the messages that move between contracts, account state, and jetton and NFT activity derived from the contracts that hold it. Those records are normalized into the model SonarX uses across every network it covers, so a TON question and a Cardano question can be answered in the same query language rather than in two pipelines.
Full historical coverage is available today as a data-share or a file delivery. Real-time delivery is enabled on request.
How SonarX indexes TON
TON chain indexing starts by giving up the idea of a single block height. A block belongs to a shard, identified by its workchain and shard prefix with its own sequence number, and shards divide and recombine under load, so the history is a tree to be walked rather than a line to be counted. Execution is asynchronous, so a transfer is a set of messages landing in different blocks and has to be stitched back into one economic event. Jetton holdings live in a wallet contract per holder, which turns token balance work into contract state tracking across very many small contracts. Addresses also have two spellings, raw and user-friendly, for the same account.
What teams build with TON data
TON’s activity is consumer-shaped, and the analysis follows. Wallet and cohort work is the common request: small accounts created in bulk through applications, then followed over time to separate durable users from one-off activity, which needs address-level history rather than aggregates. Jetton distribution studies are the second, tracking an issuance from mint through the per-holder wallet contracts to the accounts that still hold it. Third is exchange and treasury reconciliation, where a desk’s internal records have to agree with the chain’s message history rather than with a summarized transfer feed. All three hit the same obstacle first: a naive count of transactions on TON counts messages, and messages outnumber the economic events they belong to. Wallet analytics covers the address-level side of this across chains, and teams comparing shard designs often pull MultiversX beside it.
Getting TON data from SonarX
Tell us the delivery target, how far back you need and how fresh it has to be, and the share is scoped against that. TON history is available now as a share or a file delivery, and streaming is provisioned on request. The published coverage matrix for every network SonarX indexes lives in the data documentation, and the rest of the catalogue is at all indexed chains.
Is there a TON data API?
APIs over indexed TON data are enabled on request: the same indexed dataset the Snowflake share reads, served over REST once provisioned. Tell us the lookup pattern you need.
How do I get TON data into Snowflake?
SonarX provisions a data-share into your own Snowflake account. The share appears as a database you query with SQL, so there is no pipeline to build and no second copy to store, and it stays current as SonarX advances the indexing pipeline.
How far back does TON coverage go?
The historical data-share and file delivery cover TON's recorded history and are available today. TON's early history predates its current governance and its shard layout has changed over time, so rather than assert a start height here, depth is confirmed when the share is scoped. Tell us the earliest date your workflow needs and we will state exactly what is available.
Why does one TON transfer span several blocks?
Because execution is asynchronous. A contract does not call another contract and wait: it sends a message, which is processed in a later block, possibly in a different shard. A user action that looks like one transaction is a chain of messages, so a transfer view on TON is reassembled from message traces rather than read from a single row.
How are TON jetton balances indexed?
By following contracts, because there is no central ledger to read. Under the jetton standard each holder has their own wallet contract for each token, so a token's holder set is spread across many small contracts rather than held in one mapping inside the token contract. Balances are derived by tracking those contracts' state, which is the single biggest difference from token indexing on an EVM chain.
Is TON the same thing as Telegram?
No. Telegram designed the protocol and then walked away from it in 2020, and the network has been run by independent validators and developers since. Telegram applications can connect to TON wallets, but the chain is not operated by the messaging company, and nothing in TON's onchain records comes from Telegram's own systems.
How do I start with TON data?
Tell SonarX the delivery target, the history depth and the refresh cadence you need, and the share is scoped against that. There is no self-serve signup: every engagement is provisioned, so the first conversation is about scope rather than credentials.