Interface: TransactionEffectsV1Like
Version 1 of TransactionEffects
BCS
The BCS serialized form of this type is specified in
bcs-schema.abnf.
Methods
allChangedObjects()
allChangedObjects(): ChangedObjectWrite[];
Every object still in the store after this transaction, tagged with how it got there.
Returns
allRemovedObjects()
allRemovedObjects(): RemovedObject[];
Every object that was in the store before this transaction and is not after it, tagged with why.
Returns
auxiliaryDataDigest()
auxiliaryDataDigest():
| EffectsAuxDataDigestLike
| undefined;
Auxiliary data generated as part of the effects but stored separately.
Returns
| EffectsAuxDataDigestLike
| undefined
changedObjects()
changedObjects(): ChangedObject[];
Objects whose state changed in the object store.
Returns
created()
created(): OwnedObjectReference[];
Objects newly created by this transaction, paired with their owner.
Returns
deleted()
deleted(): ObjectReference[];
Objects that existed before this transaction and that it deleted.
Returns
dependencies()
dependencies(): TransactionDigestLike[];
The transactions this one depends on.
Returns
epoch()
epoch(): bigint;
The epoch when this transaction was executed.
Returns
bigint
eventsDigest()
eventsDigest():
| TransactionEventsDigestLike
| undefined;
The digest of the events emitted during execution, or None if the transaction emitted
none.
Returns
| TransactionEventsDigestLike
| undefined
gasCostSummary()
gasCostSummary(): GasCostSummary;
The gas used by this transaction.
Returns
gasObject()
gasObject(): OwnedObjectReference | undefined;
The post-transaction reference and owner of the gas object, or None for a system
transaction, which pays no gas.
Returns
OwnedObjectReference | undefined
gasObjectIndex()
gasObjectIndex(): number | undefined;
The updated gas object, as an index into changed_objects. None for a system transaction,
which pays no gas.
Returns
number | undefined
inputSharedObjects()
inputSharedObjects(): InputSharedObject[];
The shared objects this transaction was sequenced against, whether or not it changed them.
Returns
lamportVersion()
lamportVersion(): VersionLike;
The version this transaction assigned to every output object other than packages.
Returns
modifiedAtVersions()
modifiedAtVersions(): ObjectVersion[];
The id and pre-transaction version of every object that existed before this transaction and was modified by it.
Returns
mutated()
mutated(): OwnedObjectReference[];
Objects that existed before this transaction and whose contents it updated, at their post-transaction reference and owner.
Returns
oldObjectMetadata()
oldObjectMetadata(): OwnedObjectReference[];
The reference and owner, before this transaction, of every object it modified.
Returns
status()
status(): any;
The status of the execution.
Returns
any
toBcs()
toBcs(): ArrayBuffer;
Convert this type to BCS encoded bytes.
Returns
ArrayBuffer
toDisplayString()
toDisplayString(): string;
Render this type as human-readable text.
Some types also print this through the binding's native string conversion; this method is the spelling every object type has.
The layout is meant for reading and can change between releases. Use the JSON or BCS conversions for output that gets parsed.
Returns
string
toJson()
toJson(): string;
Convert this type to a JSON encoded string.
Returns
string
transactionDigest()
transactionDigest(): TransactionDigestLike;
The transaction digest.
Returns
unchangedSharedObjects()
unchangedSharedObjects(): UnchangedSharedObject[];
Shared objects this transaction was sequenced against without changing.
Returns
unwrapped()
unwrapped(): OwnedObjectReference[];
Objects that were wrapped inside another object before this transaction and that it restored to the store.
Returns
unwrappedThenDeleted()
unwrappedThenDeleted(): ObjectReference[];
Objects unwrapped and then deleted within this same transaction.
Returns
wrapped()
wrapped(): ObjectReference[];
Objects that this transaction wrapped inside another object.