Skip to main content

TransactionEffects

Namespace: IotaSdk

The output or effects of executing a transaction

BCS

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

public class TransactionEffects : ITransactionEffects, System.IEquatable`1[[IotaSdk.TransactionEffects, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.IDisposable

Inheritance Object → TransactionEffects
Implements ITransactionEffects, IEquatable<TransactionEffects>, IDisposable
Attributes NullableContextAttribute, NullableAttribute

Constructors​

TransactionEffects(UInt64)​

public TransactionEffects(ulong pointer)

Parameters​

pointer UInt64

Methods​

Destroy()​

public void Destroy()

Dispose()​

public void Dispose()

AsV1()​

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.

public TransactionEffectsV1 AsV1()

Returns​

TransactionEffectsV1

Digest()​

public TransactionEffectsDigest Digest()

Returns​

TransactionEffectsDigest

IsV1()​

public bool IsV1()

Returns​

Boolean

ToBcs()​

Convert this type to BCS encoded bytes.

public Byte[] ToBcs()

Returns​

Byte[]

Exceptions​

SdkFfiException

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​

String

ToJson()​

Convert this type to a JSON encoded string.

public string ToJson()

Returns​

String

Exceptions​

SdkFfiException

Equals(TransactionEffects)​

public bool Equals(TransactionEffects? other)

Parameters​

other TransactionEffects?

Returns​

Boolean

Equals(Object)​

public override bool Equals(object? obj)

Parameters​

obj Object?

Returns​

Boolean

FromBcs(Byte[])​

Create this type from BCS encoded bytes.

public static TransactionEffects FromBcs(Byte[] bcs)

Parameters​

bcs Byte[]

Returns​

TransactionEffects

Exceptions​

SdkFfiException

FromJson(String)​

Create this type from a JSON encoded string.

public static TransactionEffects FromJson(string json)

Parameters​

json String

Returns​

TransactionEffects

Exceptions​

SdkFfiException

NewV1(TransactionEffectsV1)​

public static TransactionEffects NewV1(TransactionEffectsV1 effects)

Parameters​

effects TransactionEffectsV1

Returns​

TransactionEffects