Skip to main content

Failure

Namespace: IotaSdk

The Transaction didn't execute successfully.

Failed transactions are still committed to the blockchain but any intended effects are rolled back to prior to this transaction executing with the caveat that gas objects are still smashed and gas usage is still charged.

internal record class Failure : ExecutionStatus, System.IDisposable, System.IEquatable`1[[IotaSdk.ExecutionStatus, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.IEquatable`1[[IotaSdk.ExecutionStatus+Failure, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]

Inheritance Object → ExecutionStatus → Failure
Implements IDisposable, IEquatable<ExecutionStatus>, IEquatable<Failure>
Attributes NullableAttribute

Properties​

Error​

public ExecutionError Error { get; init; }

Property Value​

ExecutionError

Command​

public ulong? Command { get; init; }

Property Value​

UInt64?

Constructors​

Failure(ExecutionError, UInt64?)​

The Transaction didn't execute successfully.

Failed transactions are still committed to the blockchain but any intended effects are rolled back to prior to this transaction executing with the caveat that gas objects are still smashed and gas usage is still charged.

public Failure(ExecutionError Error, ulong? Command)

Parameters​

Error ExecutionError

Command UInt64?