Skip to main content

Overview

Goldsky provides curated TON (The Open Network) datasets covering blocks, transactions, and messages. Each dataset includes the masterchain block sequence number (mc_block_seqno) and block_timestamp, so you can join rows across datasets and order them by masterchain block.

Available datasets

The Datasource explorer always has the latest dataset versions. You can also list them with goldsky dataset list.

Quick start

The fastest way to explore TON data is with a blackhole sink and goldsky turbo inspect:

Schema reference

In the tables below, ts is a timestamp and coin is a TON amount in nanotons (1 TON = 109 nanotons). Every dataset includes a _gs_op column that carries the row’s change operation.

ton.blocks

One row per block: each masterchain block and every shard block it commits.

ton.transactions

One row per transaction.

ton.messages

One row per transaction, direction, and message. An internal message appears twice: as out on the sender’s transaction and as in on the receiver’s transaction.

Guide: Track failed transactions

Capture transactions that were aborted, for example to debug a contract or alert on failing wallets:

Guide: Monitor incoming messages for an account

Stream every message an account receives. Filtering on direction = 'in' keeps one row per delivered message, so internal messages are not counted twice:
Replace <account_address> with the account address in the same format the dataset uses. Inspect a few rows with goldsky turbo inspect first to confirm the format.

Performance tips

TON produces high volumes of transactions and messages across its shards. Apply filters as early as possible to reduce data volume downstream:
When building and testing pipelines, use start_at: latest to avoid processing large amounts of historical data:
For any questions or feedback, reach out at support@goldsky.com.