Skip to main content

TransactionEvents

open class TransactionEvents : Disposable, AutoCloseable, TransactionEventsInterface

Events emitted during the successful execution of a transaction

BCS

The BCS serialized form of this type is specified in bcs-schema.abnf.

Constructors​

TransactionEventsconstructor(events: List<Event>)

Functions​

NameSummary
close@Synchronized
open override fun close()
destroyopen override fun destroy()
digestopen override fun digest(): TransactionEventsDigest
eventsopen override fun events(): List<Event>
toBcsopen override fun toBcs(): ByteArray
Convert this type to BCS encoded bytes.
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.

Companion object functions​

NameSummary
fromBcsfun fromBcs(bcs: ByteArray): TransactionEvents
Create this type from BCS encoded bytes.
fromJsonfun fromJson(json: String): TransactionEvents
Create this type from a JSON encoded string.