Skip to main content

TransactionDigest

open class TransactionDigest : Disposable, AutoCloseable, TransactionDigestInterface

The digest of a Transaction.

Functions​

NameSummary
close@Synchronized
open override fun close()
destroyopen override fun destroy()
equalsopen operator override fun equals(other: Any?): Boolean
hashCodeopen override fun hashCode(): Int
nextLexicographicalopen override fun nextLexicographical(): TransactionDigest
Returns the next digest in byte-increasing order.
nextLexicographicalOptopen override fun nextLexicographicalOpt(): TransactionDigest?
Returns the next digest in byte-increasing order, or None if the result would overflow.
toBase58open override fun toBase58(): String
toBcsopen override fun toBcs(): ByteArray
Convert this type to BCS encoded bytes.
toBytesopen override fun toBytes(): ByteArray
toDisplayStringopen override fun toDisplayString(): String
Render this type as human-readable text.
toJsonopen override fun toJson(): String
Convert this type to a JSON encoded string.
toStringopen override fun toString(): String

Companion object functions​

NameSummary
fromBase58fun fromBase58(base58: String): TransactionDigest
fromBcsfun fromBcs(bcs: ByteArray): TransactionDigest
Create this type from BCS encoded bytes.
fromBytesfun fromBytes(bytes: ByteArray): TransactionDigest
fromJsonfun fromJson(json: String): TransactionDigest
Create this type from a JSON encoded string.
genesisMarkerfun genesisMarker(): TransactionDigest
The digest used to signify the parent transaction was the genesis.
randomfun random(): TransactionDigest