Skip to main content

Interface: ConsensusCommitPrologueV1Like

V1 of the consensus commit prologue system transaction

BCS

The BCS serialized form for this type is defined by the following ABNF:

consensus-commit-prologue-v1 = u64 u64 (option u64) u64 digest
consensus-determined-version-assignments

Methods

commitTimestampMs()

commitTimestampMs(): bigint;

Unix timestamp from consensus

Returns

bigint


consensusCommitDigest()

consensusCommitDigest(): ConsensusCommitDigestLike;

Digest of consensus output

Returns

ConsensusCommitDigestLike


consensusDeterminedVersionAssignments()

consensusDeterminedVersionAssignments(): ConsensusDeterminedVersionAssignmentsLike;

Stores consensus handler determined shared object version assignments.

Returns

ConsensusDeterminedVersionAssignmentsLike


epoch()

epoch(): bigint;

Epoch of the commit prologue transaction

Returns

bigint


round()

round(): bigint;

Consensus round of the commit

Returns

bigint


subDagIndex()

subDagIndex(): bigint | undefined;

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

Returns

bigint | undefined