Skip to main content
⚠️ This is the beta version of the Sui GraphQL schema. The beta schema will replace the alpha GraphQL schema upon its official release.

Checkpoint

Checkpoints contain finalized transactions and are used for node synchronization and global transaction ordering.

type Checkpoint {
sequenceNumber: UInt53!
query: Query
digest: String
contentDigest: String
epoch: Epoch
networkTotalTransactions: UInt53
previousCheckpointDigest: String
rollingGasSummary: GasCostSummary
summaryBcs: Base64
contentBcs: Base64
timestamp: DateTime
validatorSignatures: ValidatorAggregatedSignature
transactions(
first: Int
after: String
last: Int
before: String
filter: TransactionFilter
): TransactionConnection
}

Fields

Checkpoint.sequenceNumber ● UInt53! non-null scalar

The checkpoint's position in the total order of finalized checkpoints, agreed upon by consensus.

Checkpoint.query ● Query object

Query the RPC as if this checkpoint were the latest checkpoint.

Checkpoint.digest ● String scalar

A 32-byte hash that uniquely identifies the checkpoint, encoded in Base58. This is a hash of the checkpoint's summary.

Checkpoint.contentDigest ● String scalar

A 32-byte hash that uniquely identifies the checkpoint's content, encoded in Base58.

Checkpoint.epoch ● Epoch object

The epoch that this checkpoint is part of.

Checkpoint.networkTotalTransactions ● UInt53 scalar

The total number of transactions in the network by the end of this checkpoint.

Checkpoint.previousCheckpointDigest ● String scalar

The digest of the previous checkpoint's summary.

Checkpoint.rollingGasSummary ● GasCostSummary object

The computation cost, storage cost, storage rebate, and non-refundable storage fee accumulated during this epoch, up to and including this checkpoint. These values increase monotonically across checkpoints in the same epoch, and reset on epoch boundaries.

Checkpoint.summaryBcs ● Base64 scalar

The Base64 serialized BCS bytes of this checkpoint's summary.

Checkpoint.contentBcs ● Base64 scalar

The Base64 serialized BCS bytes of this checkpoint's contents.

Checkpoint.timestamp ● DateTime scalar

The timestamp at which the checkpoint is agreed to have happened according to consensus. Transactions that access time in this checkpoint will observe this timestamp.

Checkpoint.validatorSignatures ● ValidatorAggregatedSignature object

The aggregation of signatures from a quorum of validators for the checkpoint proposal.

Checkpoint.transactions ● TransactionConnection object

Checkpoint.transactions.first ● Int scalar
Checkpoint.transactions.after ● String scalar
Checkpoint.transactions.last ● Int scalar
Checkpoint.transactions.before ● String scalar
Checkpoint.transactions.filter ● TransactionFilter input

Returned By

checkpoint query ● multiGetCheckpoints query

Member Of

TransactionEffects object