Skip to main content

GraphQlDryRunResult

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 GraphQlDryRunResult : System.IDisposable, System.IEquatable`1[[IotaSdk.GraphQlDryRunResult, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]

Inheritance Object → GraphQlDryRunResult
Implements IDisposable, IEquatable<GraphQlDryRunResult>
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 GraphQlDryRunEffect[] Results { get; init; }

Property Value​

GraphQlDryRunEffect[]

Transaction​

The transaction that was dry run, without signatures.

public Transaction? Transaction { get; init; }

Property Value​

Transaction

Effects​

The effects of the transaction execution.

public TransactionEffects? Effects { get; init; }

Property Value​

TransactionEffects

SuggestedGasPrice​

The gas price to use. This is the reference gas price, or a higher price if an input object is congested.

public ulong? SuggestedGasPrice { get; init; }

Property Value​

UInt64?

Constructors​

GraphQlDryRunResult(String, GraphQlDryRunEffect[], Transaction, TransactionEffects, UInt64?)​

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 GraphQlDryRunResult(string? Error, GraphQlDryRunEffect[] Results, Transaction? Transaction, TransactionEffects? Effects, ulong? SuggestedGasPrice)

Parameters​

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

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

Transaction Transaction?
The transaction that was dry run, without signatures.

Effects TransactionEffects?
The effects of the transaction execution.

SuggestedGasPrice UInt64?
The gas price to use. This is the reference gas price, or a higher price if an input object is congested.

Methods​

Dispose()​

public void Dispose()