Skip to main content

TransactionEffects

open class TransactionEffects : Disposable, AutoCloseable, TransactionEffectsInterface

The output or effects of executing a transaction

BCS

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

Functions​

NameSummary
asV1open override fun asV1(): TransactionEffectsV1
The V1 effects, which is where the object sets and other views derived from them are reported. Panics for any other version; a caller that does not want to assume one should check is_v1 first.
close@Synchronized
open override fun close()
destroyopen override fun destroy()
digestopen override fun digest(): TransactionEffectsDigest
equalsopen operator override fun equals(other: Any?): Boolean
isV1open override fun isV1(): Boolean
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.
toStringopen override fun toString(): String

Companion object functions​

NameSummary
fromBcsfun fromBcs(bcs: ByteArray): TransactionEffects
Create this type from BCS encoded bytes.
fromJsonfun fromJson(json: String): TransactionEffects
Create this type from a JSON encoded string.
newV1fun newV1(effects: TransactionEffectsV1): TransactionEffects