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
toBcs()
toBcs(): ArrayBuffer;
Convert this type to BCS encoded bytes.
Returns
ArrayBuffer
toBytes()
toBytes(): ArrayBuffer;
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