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
toBytesopen override fun toBytes(): ByteArray
toStringopen override fun toString(): String

Companion object functions

NameSummary
fromBase58fun fromBase58(base58: String): TransactionDigest
fromBytesfun fromBytes(bytes: ByteArray): TransactionDigest
genesisMarkerfun genesisMarker(): TransactionDigest
The digest used to signify the parent transaction was the genesis.
randomfun random(): TransactionDigest