Skip to main content

Interface: ConsensusCommitPrologueV1Like

V1 of the consensus commit prologue system transaction

BCS

The BCS serialized form of this type is specified in bcs-schema.abnf.

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


toBcs()​

toBcs(): ArrayBuffer;

Convert this type to BCS encoded bytes.

Returns​

ArrayBuffer


toDisplayString()​

toDisplayString(): string;

Render this type as human-readable text.

Some types also print this through the binding's native string conversion; this method is the spelling every object type has.

The layout is meant for reading and can change between releases. Use the JSON or BCS conversions for output that gets parsed.

Returns​

string


toJson()​

toJson(): string;

Convert this type to a JSON encoded string.

Returns​

string