Skip to main content

TransactionEffectsV1Interface

interface TransactionEffectsV1Interface

Version 1 of TransactionEffects

BCS

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

Inheritors​

TransactionEffectsV1

Functions​

NameSummary
allChangedObjectsabstract fun allChangedObjects(): List<ChangedObjectWrite>
Every object still in the store after this transaction, tagged with how it got there.
allRemovedObjectsabstract fun allRemovedObjects(): List<RemovedObject>
Every object that was in the store before this transaction and is not after it, tagged with why.
auxiliaryDataDigestabstract fun auxiliaryDataDigest(): EffectsAuxDataDigest?
Auxiliary data generated as part of the effects but stored separately.
changedObjectsabstract fun changedObjects(): List<ChangedObject>
Objects whose state changed in the object store.
createdabstract fun created(): List<OwnedObjectReference>
Objects newly created by this transaction, paired with their owner.
deletedabstract fun deleted(): List<ObjectReference>
Objects that existed before this transaction and that it deleted.
dependenciesabstract fun dependencies(): List<TransactionDigest>
The transactions this one depends on.
epochabstract fun epoch(): ULong
The epoch when this transaction was executed.
eventsDigestabstract fun eventsDigest(): TransactionEventsDigest?
The digest of the events emitted during execution, or None if the transaction emitted none.
gasCostSummaryabstract fun gasCostSummary(): GasCostSummary
The gas used by this transaction.
gasObjectabstract fun gasObject(): OwnedObjectReference?
The post-transaction reference and owner of the gas object, or None for a system transaction, which pays no gas.
gasObjectIndexabstract fun gasObjectIndex(): UInt?
The updated gas object, as an index into changed_objects. None for a system transaction, which pays no gas.
inputSharedObjectsabstract fun inputSharedObjects(): List<InputSharedObject>
The shared objects this transaction was sequenced against, whether or not it changed them.
lamportVersionabstract fun lamportVersion(): Version
The version this transaction assigned to every output object other than packages.
modifiedAtVersionsabstract fun modifiedAtVersions(): List<ObjectVersion>
The id and pre-transaction version of every object that existed before this transaction and was modified by it.
mutatedabstract fun mutated(): List<OwnedObjectReference>
Objects that existed before this transaction and whose contents it updated, at their post-transaction reference and owner.
oldObjectMetadataabstract fun oldObjectMetadata(): List<OwnedObjectReference>
The reference and owner, before this transaction, of every object it modified.
statusabstract fun status(): ExecutionStatus
The status of the execution.
toBcsabstract fun toBcs(): ByteArray
Convert this type to BCS encoded bytes.
toDisplayStringabstract fun toDisplayString(): String
Render this type as human-readable text.
toJsonabstract fun toJson(): String
Convert this type to a JSON encoded string.
transactionDigestabstract fun transactionDigest(): TransactionDigest
The transaction digest.
unchangedSharedObjectsabstract fun unchangedSharedObjects(): List<UnchangedSharedObject>
Shared objects this transaction was sequenced against without changing.
unwrappedabstract fun unwrapped(): List<OwnedObjectReference>
Objects that were wrapped inside another object before this transaction and that it restored to the store.
unwrappedThenDeletedabstract fun unwrappedThenDeleted(): List<ObjectReference>
Objects unwrapped and then deleted within this same transaction.
wrappedabstract fun wrapped(): List<ObjectReference>
Objects that this transaction wrapped inside another object.