Sui data model

These tables are built and maintained by Space and Time.

Sui Core Data Model

CHECKPOINTS

Checkpoints model follows the following structure:

NameDescriptionType
checkpoint_sequence_numberThe checkpoint number.string
epochCheckpoint's epoch ID.string
total_transactions_blockTotal number of transactions in the checkpoint.integer
time_stampThe checkpoint's timestamp (in ISO-8601 format).timestamp
checkpoint_digestCheckpoint digest.string
end_of_epoch_dataPresent only on the final checkpoint of the epoch.boolean
network_total_transactionsTotal number of transactions committed since Genesisstring
previous_checkpoint_digestDigest of the previous checkpoint.string
total_gas_costThe total gas cost of all transactions until this checkpoint.string
computation_costAmount of computation cost.string
storage_costAmount of storage cost.string
storage_rebateAmount of storage rebate.string
non_refundable_storage_feeAmount of non-refundable storage fee.string
checkpoint_commitmentsCommitments to checkpoint state.string
validator_signatureValidator Signature.string

TRANSACTION_BLOCKS

Transaction Blocks model follows the following structure:

NameDescriptionType
transaction_block_digestThe digest of the queried transaction.string
checkpoint_sequence_numberThe checkpoint number.string
time_stampTransaction's block timestamp (in ISO-8601 format).timestamp
senderSender Address.string
transaction_kindType of the transactionstring
statusStatus of transaction.string
transaction_countCount of transactions in a particular transaction block.string
gas_budgetThe gas budget, transaction will fail if the gas cost exceeds the budget.string
transaction_signatureTransaction's signature.string
input_Inputs to be used in this transaction.string

TRANSACTION_BLOCK_DETAILS

Transaction Block Details model follows the following structure:

NameDescriptionType
transaction_block_digestThe digest of the queried transaction.string
gas_priceGas is not charged, but gas usage is still calculated. Default to use reference gas price.string
computation_costAmount of computation cost.string
storage_costAmount of storage cost.string
storage_rebateAmount of storage rebate.string
raw_transactionTransaction's Raw data.string
total_gas_costThe running total gas costs of all transactions included in the current transaction block.string
non_refundable_storage_feeAmount of non-refundable storage fee.string
gas_payment_object_idThe ID of the object by which gas payment is done.string
gas_payment_object_versionThe version of the object by which gas payment is done.integer
gas_payment_object_digestThe digest of the object by which gas payment is done.string

TRANSACTIONS

Transactions model follows the following structure:

NameDescriptionType
transaction_block_digestThe digest of the queried transaction.string
transaction_indexIndex of the transactions in any particular transaction block.integer
checkpoint_sequence_numberThe checkpoint number.string
type_Name of the transaction of any particular transaction block.string
data_Transaction's input data.string
time_stampTransaction's block timestamp (in ISO-8601 format).timestamp

RECIPIENTS

Recipients model follows the following structure:

NameDescriptionType
transaction_block_digestThe digest of the queried transaction.string
epochCheckpoint's epoch ID.string
checkpoint_sequence_numberThe checkpoint number.string
senderSender Address.string
recipientRecipient Address.string

OBJECTS

Objects model follows the following structure:

NameDescriptionType
epochCheckpoint's epoch IDstring
object_idThe ID of the queried object.string
versionThe version of the queried object.integer
checkpoint_sequence_numberThe checkpoint number.string
object_typeThe type of the queried object.string
owner_typeType of the object owner (AddressOwner, ObjectOwner, Shared).string
owner_addressThe address of the owner who owned the object.string
initial_shared_versionInitial shared version of the object.string
storage_rebateAmount of storage rebate.string
bcsObject's BCS.string
has_public_transferDenote objects that have a public transfer or not.boolean
previous_transactionThe previous transaction digest in which the object is called.string
object_digestThe digest of the object.string
object_statusThe status of the object.string
time_stampTransaction's block timestamp (in ISO-8601 format).timestamp

EVENTS

Events model follows the following structure:

NameDescriptionType
transaction_block_digestThe digest of the queried transaction.string
transaction_moduleModule name of a given package.string
package_idThe Move package id.string
checkpoint_sequence_numberThe checkpoint number.string
event_seqIndex of events.string
type_Type of the event.string
senderSender Address.string
data_Events data.string
bcsEvents BSC.string
time_stampTransaction's block timestamp (in ISO-8601 format).timestamp

TOKEN_OBJECTS

Token Objects model follows the following structure:

NameDescriptionType
object_idThe ID of the queried object.string
type_The type of the queried object.string
nameThe name of the Token.string
symbolThe symbol of the Token.string
decimalsDecimals refer to how divisible a token can be.string

PACKAGES

Packages model follows the following structure:

NameDescriptionType
package_idThe Move package id.string
transaction_block_digestThe digest of the queried transaction.string
versionThe version of the move package.integer
senderSender Address.string
time_stampTransaction's block timestamp (in ISO-8601 format).timestamp

MODULES

Modules model follows the following structure:

NameDescriptionType
transaction_block_digestThe digest of the queried transaction.string
package_idThe Move package id.string
module_nameName of the module of a given package.string
checkpoint_sequence_numberThe checkpoint number.string
module_byte_codeModule's byte code.string
digestModule's digest.string

BALANCE_CHANGES

Balance Changes model follows the following structure:

NameDescriptionType
transaction_block_digestThe digest of the queried transaction.string
addressOwners/wallet address.string
coin_typeThe type of Coin.string
checkpoint_sequence_numberThe checkpoint number.string
time_stampTransaction's block timestamp (in ISO-8601 format).timestamp
amountBalance changes Amount.string

MOVE_CALLS

Move Calls model follows the following structure:

NameDescriptionType
transaction_block_digestThe digest of the queried transaction.string
package_idThe Move package id.string
checkpoint_sequence_numberThe checkpoint number.string
senderSender Address.string
module_Name of the module of a given package.string
functionName of the function of a given module.string

STAKING_REQUEST_EVENT

Staking Request Event model follows the following structure:

NameDescriptionType
transaction_block_digestThe digest of the queried transaction.string
transaction_moduleName of the module of a given package.string
package_idThe Move package id.string
checkpoint_sequence_numberThe checkpoint number.string
event_seqIndex of events.string
type_Type of the event.string
senderSender Address.string
epochCheckpoint's epoch IDstring
pool_idID of the object that maps from a staking pool ID.string
bcsEvents BSC.string
validator_addressValidator's SUI address.string
staker_addressStaker address.string
amountStaked amount.string
time_stampTransaction's block timestamp (in ISO-8601 format).timestamp

SYSTEM_EPOCH_INFO_EVENT

System Epoch Info Event model follows the following structure:

NameDescriptionType
transaction_block_digestThe digest of the queried transaction.string
transaction_moduleName of the module of a given package.string
package_idThe Move package id.string
checkpoint_sequence_numberThe checkpoint number.string
event_seqIndex of events.string
type_Type of the event.string
senderSender Address.string
leftover_storage_fund_inflowLeftover storage fund inflow.string
epochCheckpoint's epoch ID.string
protocol_versionThe current protocol version, starting from 1string
reference_gas_priceThe reference gas price for the current epoch.string
stake_subsidy_amountBalance of SUI set aside for stake subsidies that will be drawn down over time.string
storage_chargeAmount of storage rewards accumulated.string
storage_fund_balanceThe sum of storageFundNonRefundableBalance and storageFundTotalObjectStorageRebates.string
storage_fund_reinvestmentStorage fund reinvestment.string
storage_rebateAmount of storage rebates accumulated.string
total_gas_feesTotal gas fees.string
total_stakeTotal amount of stake from all active validators at the beginning of the epoch.string
total_stake_rewards_distributedTotal stake rewards distributed.string
time_stampTransaction's block timestamp (in ISO-8601 format).timestamp

TOKEN_WALLETS

Token Wallets model follows the following structure:

NameDescriptionType
wallet_addressThe unique identity that's used to send and receive cryptocurrency.string
versionThe version of the object.integer
checkpoint_sequence_numberThe checkpoint number.string
object_idThe ID of the object.string
object_typeThe type of the object.string
balanceThe amount of crypto, wallet account held.string
token_symbolSymbol of the token.string
token_addressAddress of the token.string
is_nativeDenotes whether the balance is of SUI or any other Token.boolean
time_stampTransaction's block timestamp (in ISO-8601 format).timestamp