GrpcSimulatedTransactionResult
Namespace: IotaSdk
The result of simulating a single transaction in a batch: either the simulated transaction or an error.
public record class GrpcSimulatedTransactionResult : System.IDisposable, System.IEquatable`1[[IotaSdk.GrpcSimulatedTransactionResult, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
Inheritance Object → GrpcSimulatedTransactionResult
Implements IDisposable, IEquatable<GrpcSimulatedTransactionResult>
Attributes NullableContextAttribute, NullableAttribute
Properties
Transaction
The simulated transaction, if the simulation succeeded.
public GrpcSimulatedTransaction? Transaction { get; init; }
Property Value
Error
The error message, if the simulation failed.
public string? Error { get; init; }
Property Value
Constructors
GrpcSimulatedTransactionResult(GrpcSimulatedTransaction, String)
The result of simulating a single transaction in a batch: either the simulated transaction or an error.
public GrpcSimulatedTransactionResult(GrpcSimulatedTransaction? Transaction, string? Error)
Parameters
Transaction GrpcSimulatedTransaction?
The simulated transaction, if the simulation succeeded.
Error String?
The error message, if the simulation failed.
Methods
Dispose()
public void Dispose()