Skip to main content

Interface: ConsensusCommitDigestLike

The digest of a consensus commit.

Methods​

nextLexicographical()​

nextLexicographical(): ConsensusCommitDigestLike;

Returns the next digest in byte-increasing order.

Returns​

ConsensusCommitDigestLike


nextLexicographicalOpt()​

nextLexicographicalOpt(): ConsensusCommitDigestLike | undefined;

Returns the next digest in byte-increasing order, or None if the result would overflow.

Returns​

ConsensusCommitDigestLike | undefined


toBase58()​

toBase58(): string;

Returns​

string


toBytes()​

toBytes(): ArrayBuffer;

Returns​

ArrayBuffer