Skip to main content
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

TableSinceDescription
blocks2023-05One row per checkpoint.
transactions2023-05One row per transaction, with its gas costs and effects attached.
events2023-05One row per event a transaction emitted.
move_calls2023-05One row per Move call command a transaction executed.
move_packages2023-05One row per package version published on chain.
objects2023-04One row per object version a transaction wrote, with the object contents.
transaction_objects2023-05One row per object a transaction touched, without the contents.
wrapped_objects2023-05One row per object wrapped inside another object.

Columns

Sui treats everything as an object with an owner, and records the objects a transaction touched.
Every table except blocks splits by day on block_timestamp, and blocks on timestamp. Bound that column in every query; without a bound the query reads the whole table.
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.
ColumnTypeDescription
timestampTIMESTAMPThe time of the checkpoint. Partition column.
numberINT64The checkpoint sequence number.
digestSTRINGThe digest of the checkpoint.
previous_digestSTRINGThe digest of the previous checkpoint.
epochSTRINGThe epoch of the checkpoint.
network_total_transactionsINT64The cumulative network transaction count at the checkpoint.
timestamp_msSTRINGThe checkpoint timestamp, in milliseconds.
sequence_numberSTRINGThe checkpoint sequence number as a string.
validator_signatureSTRINGThe combined signature of the validators that approved the checkpoint.
transaction_countINT64The number of transactions in the checkpoint.
Count checkpoints and the transactions they carry per day.

Sample queries

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.