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.

ConsensusCommitPrologueTransaction

System transaction that runs at the beginning of a checkpoint, and is responsible for setting the current value of the clock, based on the timestamp from consensus.

type ConsensusCommitPrologueTransaction {
epoch: Epoch
round: UInt53
commitTimestamp: DateTime
consensusCommitDigest: String
subDagIndex: UInt53
additionalStateDigest: String
}

Fields

ConsensusCommitPrologueTransaction.epoch ● Epoch object

Epoch of the commit prologue transaction.

Present in V1, V2, V3, V4.

ConsensusCommitPrologueTransaction.round ● UInt53 scalar

Consensus round of the commit.

Present in V1, V2, V3, V4.

ConsensusCommitPrologueTransaction.commitTimestamp ● DateTime scalar

Unix timestamp from consensus.

Present in V1, V2, V3, V4.

ConsensusCommitPrologueTransaction.consensusCommitDigest ● String scalar

Digest of consensus output, encoded as a Base58 string.

Present in V2, V3, V4.

ConsensusCommitPrologueTransaction.subDagIndex ● UInt53 scalar

The sub DAG index of the consensus commit. This field is populated if there are multiple consensus commits per round.

Present in V3, V4.

ConsensusCommitPrologueTransaction.additionalStateDigest ● String scalar

Digest of any additional state computed by the consensus handler. Used to detect forking bugs as early as possible.

Present in V4.

Implemented By

TransactionKind union