@slowmoonship·34 charts
TON — Shards, Messages, Accounts & Jetton Activity
SlowMoonShip: Gateway to Onchain Data
TON observed through Dune's canonical tables (ton.blocks, ton.transactions, ton.messages, ton.accounts) plus the spellbook-curated ton.jetton_events, ton.jetton_metadata, and the dedicated ton.dex_trades (TON has its own DEX table — do NOT use the generic dex.trades).
Window: 90 days for trends, 7 days for trace complexity, latest complete UTC day for headline counters. USDT is supported via the runtime-resolved Jetton master.
TON at a Glance — 24H (2026-09-13)
Headline counters for the latest complete UTC day. TON's runtime is message-driven and sharded, so we report blocks per workchain, transactions, distinct accounts, messages, and distinct traces separately. Address is NOT a user — an account can be a wallet, a contract, or a Jetton/NFT wallet contract.
Workchains & Shards
TON main network has workchain -1 (masterchain, system coordination, key blocks, validator configuration) and workchain 0 (basechain, regular application activity). Each workchain is split into dynamic shards. We report distinct observed shard values (the Dune shard column is bigint with an int64 sentinel placeholder — see IMPORTANT_CAVEATS.md). Do NOT interpret COUNT(DISTINCT shard) as "currently active shards" without semantics confirmation.
Blocks & Masterchain
We separate masterchain blocks from basechain shard blocks. Masterchain observed cadence is reported from block_time differences; basechain is multi-shard so we do NOT compute a global basechain "block interval". Masterchain key blocks (key_block = true) carry the validator-set configuration. The created_by field is exposed for block-producer observability (do NOT label it as "validator identity").
Transactions — 90D
TON transactions are per-account state transitions, NOT EVM-style user transactions. Observed descr values: ord (ordinary) and tick_tock (masterchain heartbeat). Basechain is 100% ord; masterchain is ~66% tick_tock / ~34% ord. User/application activity = workchain 0. Masterchain = system coordination.
Messages — 90D
TON is asynchronous and message-driven. direction observed values: in (incoming) and out (outgoing). Bounce flag and bounced status are tracked per message. We filter to basechain-originated messages for user-facing activity. value is in nanotons; 1 TON = 1e9 nanotons.
Traces / Causal Operation Flows — 7D
One application-level operation on TON can propagate through multiple messages → multiple accounts → multiple transactions → one causal trace.trace_id aggregates this flow. We pre-aggregate each table by trace_id FIRST, then join aggregated datasets (mandatory — raw multiplicative joins explode).
Observed Trace Wall-Clock Span = max(block_time) - min(block_time) inside a trace; this is NOT atomic execution time and NOT user-perceived latency. We do NOT convert lt differences to seconds.
Accounts & Interfaces
ton.accounts exposes per-account state: status (active, uninit, nonexist, frozen), balance, code_hash, deployment_at, first_tx_sender, and the interfaces array. One account may match multiple interfaces (e.g. jetton_wallet + wallet_v4r2). We rank interfaces by COUNT(DISTINCT address) to avoid inflating counts.
Jettons — 90D
TON's Jetton architecture uses one Jetton Master per token, plus per-holder Jetton Wallet contracts. jetton_wallet is NOT a holder's normal wallet — it is the wallet contract address. Event types observed: transfer, mint, burn. We use ton.jetton_metadata.decimals for normalization and NEVER sum raw amounts across different Jettons.
USDT on TON — 90D
Canonical USDT Jetton master is discovered at runtime via ton.jetton_metadata.symbol IN ('USD₮', 'jUSDT', 'USDT'). USDT decimals on TON = 6 (verified at runtime). Bucket boundaries follow the same shape as the USDT-on-TRON dashboard for cross-chain comparability (separate dashboards, parallel choices).
DEX Activity — 90D
TON has its own dedicated ton.dex_trades table. Observed projects: ston.fi, dedust, tonco, cpmm_pool_v3, coffee, megaton. Each row is a trade event (NOT necessarily a user swap without grain QA). Volume is reported in USD and TON where reliable.
Native TON Value Transfers — 90D
Pure TON value-bearing messages on basechain (value > 0). This is the network's native transfer layer, separate from Jetton transfers. We label this metric Observed Native TON Message Value, not Payment Volume, because message value includes internal contract routing, forwarding, change/refund behavior, and system activity.
Observed Block Creators — 90D
ton.blocks.created_by exposes a base64 hash identifying the block producer. We do NOT label these as "validators" without semantic support. Voting rank depends on TRX-style stake + votes (TON's equivalent: validator weight via config), not block production count alone. We surface creator distribution as a runtime observation.
Transaction Fees — 90D (basechain)
total_fees is in nanotons; we convert to TON via / 1e9. Compute fees, action fees, and forward fees are available as separate columns; this dashboard shows the aggregate. We do NOT decompose into storage / compute / action phases here — the primary message-trace-shard story takes priority.
Data Boundary & Unsupported Metrics
The following TON dimensions are NOT publishable from Dune today:
- Catchain consensus performance. No field exposes consensus message timing or round duration.
- Validator identity labels.
created_byis a base64 hash; we cannot map it to a human-readable validator set without an external source. - TVM execution efficiency.
compute_vm_stepsandcompute_gas_usedare available but we do not derive "TVM efficiency" from raw counts. - NFT activity.
ton.nft_eventsexists but is intentionally secondary; not included in this dashboard to preserve USDT/Jetton focus. - Comprehensive holder balance distribution.
ton.balances_historyis expensive; left for bounded ad-hoc analysis. - Cross-shard transaction finality timing. Not directly exposed.
Methodology & Data Notes
Definitions
- Workchain -1: Masterchain (system coordination, key blocks, validator config).
- Workchain 0: Basechain (regular application activity).
- Account: Workchain-prefixed address (
-1:...for masterchain,0:...for basechain). Never strip the workchain prefix. - Transaction: A row in
ton.transactions— per-account state transition, NOT an EVM-style user transaction. - Trace / Causal Operation Flow: Aggregated via
trace_id(varchar). One trace may span multiple messages + multiple transactions + multiple accounts. - Logical time (
lt): Monotonic per account, NOT comparable across accounts. Do NOT convertltdifferences to seconds. - Message: Row in
ton.messages.direction∈ {in,out}.valuein nanotons. - Bounce:
bounce = trueflag on message;bounced = trueindicates the message actually bounced. - Jetton: Token standard. One Jetton Master per token + per-holder Jetton Wallet contracts.
- Jetton Wallet vs Master:
jetton_walletis the wallet contract, NOT the holder's normal account. Do not rank holders fromjetton_walletwithout owner mapping. - USDT: Resolved at runtime via
ton.jetton_metadata.symbol. Decimals = 6. - DEX Trade: Row in
ton.dex_trades(NOTdex.trades). One row = one trade event. - Block Creator:
ton.blocks.created_by(base64 hash). NOT a validator identity label.
Discipline
- Address ≠ user. Same account can be wallet, contract, or Jetton wallet.
- Transaction ≠ user action. Multiple transactions can belong to one trace.
- Trace ≠ user action. Traces may also begin from system/special transactions.
- Shard count ≠ active shards.
shardfield uses int64 sentinel placeholder. - Block producer ≠ voting rank. Producing many blocks does not equal stake weight.
- Trace span ≠ execution time. Trace span = max-min(block_time), not TVM execution duration.
- Message value ≠ payment volume. Includes internal routing and forwarding.