Skip to main content

ConsensusCommitDigestInterface

interface ConsensusCommitDigestInterface

The digest of a consensus commit.

Inheritors​

ConsensusCommitDigest

Functions​

NameSummary
nextLexicographicalabstract fun nextLexicographical(): ConsensusCommitDigest
Returns the next digest in byte-increasing order.
nextLexicographicalOptabstract fun nextLexicographicalOpt(): ConsensusCommitDigest?
Returns the next digest in byte-increasing order, or None if the result would overflow.
toBase58abstract fun toBase58(): String
toBcsabstract fun toBcs(): ByteArray
Convert this type to BCS encoded bytes.
toBytesabstract fun toBytes(): ByteArray
toDisplayStringabstract fun toDisplayString(): String
Render this type as human-readable text.
toJsonabstract fun toJson(): String
Convert this type to a JSON encoded string.