Skip to main content

DryRunResult

Namespace: IotaSdk

The result of a simulation (dry run), which includes the effects of the transaction, any errors that may have occurred, and intermediate results for each command.

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

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

Properties​

Error​

The error that occurred during dry run execution, if any.

public string? Error { get; init; }

Property Value​

String

Results​

The intermediate results for each command of the dry run execution, including contents of mutated references and return values.

public DryRunEffect[] Results { get; init; }

Property Value​

DryRunEffect[]

Transaction​

The transaction block representing the dry run execution.

public SignedTransaction? Transaction { get; init; }

Property Value​

SignedTransaction

Effects​

The effects of the transaction execution.

public TransactionEffects? Effects { get; init; }

Property Value​

TransactionEffects

Constructors​

DryRunResult(String, DryRunEffect[], SignedTransaction, TransactionEffects)​

The result of a simulation (dry run), which includes the effects of the transaction, any errors that may have occurred, and intermediate results for each command.

public DryRunResult(string? Error, DryRunEffect[] Results, SignedTransaction? Transaction, TransactionEffects? Effects)

Parameters​

Error String?
The error that occurred during dry run execution, if any.

Results DryRunEffect[]
The intermediate results for each command of the dry run execution, including contents of mutated references and return values.

Transaction SignedTransaction?
The transaction block representing the dry run execution.

Effects TransactionEffects?
The effects of the transaction execution.

Methods​

Dispose()​

public void Dispose()