sui holds the standardized Sui tables, following the Sui schema documented in the family overview. Sui treats everything on the chain as an object with an owner, which sets it apart from the other Move chains. It has no blocks in the usual sense either: its blocks rows are checkpoints, the groups it batches transactions into. The objects, transaction_objects and wrapped_objects tables record every version of every object a transaction touched.
Tables
| Table | Since | Description |
|---|---|---|
blocks | 2023-05 | One row per checkpoint. |
transactions | 2023-05 | One row per transaction, with its gas costs and effects attached. |
events | 2023-05 | One row per event a transaction emitted. |
move_calls | 2023-05 | One row per Move call command a transaction executed. |
move_packages | 2023-05 | One row per package version published on chain. |
objects | 2023-04 | One row per object version a transaction wrote, with the object contents. |
transaction_objects | 2023-05 | One row per object a transaction touched, without the contents. |
wrapped_objects | 2023-05 | One row per object wrapped inside another object. |
Columns
Sui treats everything as an object with an owner, and records the objects a transaction touched.- blocks
- transactions
- events
Sui has no blocks in the usual sense. It groups its transactions into checkpoints instead, and a checkpoint is what this table holds.
blocks contains one row per checkpoint.| Column | Type | Description |
|---|---|---|
timestamp | TIMESTAMP | The time of the checkpoint. Partition column. |
number | INT64 | The checkpoint sequence number. |
digest | STRING | The digest of the checkpoint. |
previous_digest | STRING | The digest of the previous checkpoint. |
epoch | STRING | The epoch of the checkpoint. |
network_total_transactions | INT64 | The cumulative network transaction count at the checkpoint. |
timestamp_ms | STRING | The checkpoint timestamp, in milliseconds. |
sequence_number | STRING | The checkpoint sequence number as a string. |
validator_signature | STRING | The combined signature of the validators that approved the checkpoint. |
transaction_count | INT64 | The number of transactions in the checkpoint. |
- Daily checkpoints and transactions
Count checkpoints and the transactions they carry per day.
Sample queries
- Transactions by kind
- Priced tokens, daily
- Tokenized assets by market cap
Count transactions and gas costs by transaction kind on one day.
Notes
objects starts a few weeks earlier than the rest, on 2023-04-12. Use transaction_objects when the question is which objects a transaction touched, and objects when what was in them matters.
Above the raw tables sits the rest of the catalog, and Sui shows up in two parts of it: the list of tokens we know about, with the daily prices they carry, and the tokenized assets issued on the chain. No app or trading-pool table covers Sui.
Tokens covers the token list and the daily price table. Tokenized assets and Stablecoins cover the tokenized assets and their daily tables.