Skip to main content

TransactionEffectsV1

open class TransactionEffectsV1 : Disposable, AutoCloseable, TransactionEffectsV1Interface

Version 1 of TransactionEffects

BCS

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

Constructors​

TransactionEffectsV1constructor(status: ExecutionStatus, epoch: ULong, gasCostSummary: GasCostSummary, transactionDigest: TransactionDigest, gasObjectIndex: UInt?, eventsDigest: TransactionEventsDigest?, dependencies: List<TransactionDigest>, lamportVersion: Version, changedObjects: List<ChangedObject>, unchangedSharedObjects: List<UnchangedSharedObject>, auxiliaryDataDigest: EffectsAuxDataDigest?)

Functions​

NameSummary
allChangedObjectsopen override fun allChangedObjects(): List<ChangedObjectWrite>
Every object still in the store after this transaction, tagged with how it got there.
allRemovedObjectsopen override fun allRemovedObjects(): List<RemovedObject>
Every object that was in the store before this transaction and is not after it, tagged with why.
auxiliaryDataDigestopen override fun auxiliaryDataDigest(): EffectsAuxDataDigest?
Auxiliary data generated as part of the effects but stored separately.
changedObjectsopen override fun changedObjects(): List<ChangedObject>
Objects whose state changed in the object store.
close@Synchronized
open override fun close()
createdopen override fun created(): List<OwnedObjectReference>
Objects newly created by this transaction, paired with their owner.
deletedopen override fun deleted(): List<ObjectReference>
Objects that existed before this transaction and that it deleted.
dependenciesopen override fun dependencies(): List<TransactionDigest>
The transactions this one depends on.
destroyopen override fun destroy()
epochopen override fun epoch(): ULong
The epoch when this transaction was executed.
equalsopen operator override fun equals(other: Any?): Boolean
eventsDigestopen override fun eventsDigest(): TransactionEventsDigest?
The digest of the events emitted during execution, or None if the transaction emitted none.
gasCostSummaryopen override fun gasCostSummary(): GasCostSummary
The gas used by this transaction.
gasObjectopen override fun gasObject(): OwnedObjectReference?
The post-transaction reference and owner of the gas object, or None for a system transaction, which pays no gas.
gasObjectIndexopen override fun gasObjectIndex(): UInt?
The updated gas object, as an index into changed_objects. None for a system transaction, which pays no gas.
inputSharedObjectsopen override fun inputSharedObjects(): List<InputSharedObject>
The shared objects this transaction was sequenced against, whether or not it changed them.
lamportVersionopen override fun lamportVersion(): Version
The version this transaction assigned to every output object other than packages.
modifiedAtVersionsopen override fun modifiedAtVersions(): List<ObjectVersion>
The id and pre-transaction version of every object that existed before this transaction and was modified by it.
mutatedopen override fun mutated(): List<OwnedObjectReference>
Objects that existed before this transaction and whose contents it updated, at their post-transaction reference and owner.
oldObjectMetadataopen override fun oldObjectMetadata(): List<OwnedObjectReference>
The reference and owner, before this transaction, of every object it modified.
statusopen override fun status(): ExecutionStatus
The status of the execution.
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
transactionDigestopen override fun transactionDigest(): TransactionDigest
The transaction digest.
unchangedSharedObjectsopen override fun unchangedSharedObjects(): List<UnchangedSharedObject>
Shared objects this transaction was sequenced against without changing.
unwrappedopen override fun unwrapped(): List<OwnedObjectReference>
Objects that were wrapped inside another object before this transaction and that it restored to the store.
unwrappedThenDeletedopen override fun unwrappedThenDeleted(): List<ObjectReference>
Objects unwrapped and then deleted within this same transaction.
wrappedopen override fun wrapped(): List<ObjectReference>
Objects that this transaction wrapped inside another object.

Companion object functions​

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