Skip to main content

Interface: CheckpointContentsLike

The committed to contents of a checkpoint.

CheckpointContents contains a list of digests of Transactions, their effects, and the user signatures that authorized their execution included in a checkpoint.

BCS

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

checkpoint-contents = %d00 checkpoint-contents-v1 ; variant 0

Methods​

asV1()​

asV1(): CheckpointContentsV1Like;

Returns​

CheckpointContentsV1Like


digest()​

digest(): CheckpointContentsDigestLike;

Returns​

CheckpointContentsDigestLike


isEmpty()​

isEmpty(): boolean;

Whether this checkpoint has no transactions.

Returns​

boolean


isV1()​

isV1(): boolean;

Returns​

boolean


len()​

len(): bigint;

The number of transactions in this checkpoint.

Returns​

bigint


transactions()​

transactions(): CheckpointTransactionInfoLike[];

Returns​

CheckpointTransactionInfoLike[]