TransactionEffectsV1
Namespace: IotaSdk
Version 1 of TransactionEffects
BCS
The BCS serialized form of this type is specified in
bcs-schema.abnf.
public class TransactionEffectsV1 : ITransactionEffectsV1, System.IEquatable`1[[IotaSdk.TransactionEffectsV1, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.IDisposable
Inheritance Object → TransactionEffectsV1
Implements ITransactionEffectsV1, IEquatable<TransactionEffectsV1>, IDisposable
Attributes NullableContextAttribute, NullableAttribute
Constructors
TransactionEffectsV1(UInt64)
public TransactionEffectsV1(ulong pointer)
Parameters
pointer UInt64
TransactionEffectsV1(ExecutionStatus, UInt64, GasCostSummary, TransactionDigest, UInt32?, TransactionEventsDigest, TransactionDigest[], Version, ChangedObject[], UnchangedSharedObject[], EffectsAuxDataDigest)
public TransactionEffectsV1(ExecutionStatus status, ulong epoch, GasCostSummary gasCostSummary, TransactionDigest transactionDigest, uint? gasObjectIndex, TransactionEventsDigest? eventsDigest, TransactionDigest[] dependencies, Version lamportVersion, ChangedObject[] changedObjects, UnchangedSharedObject[] unchangedSharedObjects, EffectsAuxDataDigest? auxiliaryDataDigest)
Parameters
status ExecutionStatus
epoch UInt64
gasCostSummary GasCostSummary
transactionDigest TransactionDigest
gasObjectIndex UInt32?
eventsDigest TransactionEventsDigest?
dependencies TransactionDigest[]
lamportVersion Version
changedObjects ChangedObject[]
unchangedSharedObjects UnchangedSharedObject[]
auxiliaryDataDigest EffectsAuxDataDigest?
Methods
Destroy()
public void Destroy()
Dispose()
public void Dispose()
AllChangedObjects()
Every object still in the store after this transaction, tagged with how it got there.
public ChangedObjectWrite[] AllChangedObjects()
Returns
AllRemovedObjects()
Every object that was in the store before this transaction and is not after it, tagged with why.
public RemovedObject[] AllRemovedObjects()
Returns
AuxiliaryDataDigest()
Auxiliary data generated as part of the effects but stored separately.
public EffectsAuxDataDigest? AuxiliaryDataDigest()
Returns
ChangedObjects()
Objects whose state changed in the object store.
public ChangedObject[] ChangedObjects()
Returns
Created()
Objects newly created by this transaction, paired with their owner.
public OwnedObjectReference[] Created()
Returns
Deleted()
Objects that existed before this transaction and that it deleted.
public ObjectReference[] Deleted()
Returns
Dependencies()
The transactions this one depends on.
public TransactionDigest[] Dependencies()
Returns
Epoch()
The epoch when this transaction was executed.
public ulong Epoch()
Returns
EventsDigest()
The digest of the events emitted during execution, or None if the transaction emitted
none.
public TransactionEventsDigest? EventsDigest()
Returns
GasCostSummary()
The gas used by this transaction.
public GasCostSummary GasCostSummary()
Returns
GasObject()
The post-transaction reference and owner of the gas object, or None for a system
transaction, which pays no gas.
public OwnedObjectReference? GasObject()
Returns
GasObjectIndex()
The updated gas object, as an index into changed_objects. None for a system transaction,
which pays no gas.
public uint? GasObjectIndex()
Returns
InputSharedObjects()
The shared objects this transaction was sequenced against, whether or not it changed them.
public InputSharedObject[] InputSharedObjects()
Returns
LamportVersion()
The version this transaction assigned to every output object other than packages.
public Version LamportVersion()
Returns
ModifiedAtVersions()
The id and pre-transaction version of every object that existed before this transaction and was modified by it.
public ObjectVersion[] ModifiedAtVersions()
Returns
Mutated()
Objects that existed before this transaction and whose contents it updated, at their post-transaction reference and owner.
public OwnedObjectReference[] Mutated()
Returns
OldObjectMetadata()
The reference and owner, before this transaction, of every object it modified.
public OwnedObjectReference[] OldObjectMetadata()
Returns
Status()
The status of the execution.
public ExecutionStatus Status()
Returns
ToBcs()
Convert this type to BCS encoded bytes.
public Byte[] ToBcs()
Returns
Exceptions
ToDisplayString()
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.
public string ToDisplayString()
Returns
ToJson()
Convert this type to a JSON encoded string.
public string ToJson()
Returns
Exceptions
TransactionDigest()
The transaction digest.
public TransactionDigest TransactionDigest()
Returns
UnchangedSharedObjects()
Shared objects this transaction was sequenced against without changing.
public UnchangedSharedObject[] UnchangedSharedObjects()
Returns
Unwrapped()
Objects that were wrapped inside another object before this transaction and that it restored to the store.
public OwnedObjectReference[] Unwrapped()
Returns
UnwrappedThenDeleted()
Objects unwrapped and then deleted within this same transaction.
public ObjectReference[] UnwrappedThenDeleted()
Returns
Wrapped()
Objects that this transaction wrapped inside another object.
public ObjectReference[] Wrapped()
Returns
Equals(TransactionEffectsV1)
public bool Equals(TransactionEffectsV1? other)
Parameters
other TransactionEffectsV1?
Returns
Equals(Object)
public override bool Equals(object? obj)
Parameters
obj Object?
Returns
FromBcs(Byte[])
Create this type from BCS encoded bytes.
public static TransactionEffectsV1 FromBcs(Byte[] bcs)
Parameters
bcs Byte[]
Returns
Exceptions
FromJson(String)
Create this type from a JSON encoded string.
public static TransactionEffectsV1 FromJson(string json)
Parameters
json String