GrpcSimulatedTransaction
Namespace: IotaSdk
The result of simulating a transaction.
public record class GrpcSimulatedTransaction : System.IDisposable, System.IEquatable`1[[IotaSdk.GrpcSimulatedTransaction, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
Inheritance Object → GrpcSimulatedTransaction
Implements IDisposable, IEquatable<GrpcSimulatedTransaction>
Attributes NullableContextAttribute, NullableAttribute
Properties
Transaction
The simulated executed transaction.
public GrpcExecutedTransaction? Transaction { get; init; }
Property Value
SuggestedGasPrice
The suggested gas price (in NANOS).
public ulong? SuggestedGasPrice { get; init; }
Property Value
CommandResults
The intermediate results/outputs for each command of the transaction, if the simulation succeeded.
public GrpcCommandResult[]? CommandResults { get; init; }
Property Value
ExecutionError
The execution error, if the simulation failed.
public GrpcSimulatedExecutionError? ExecutionError { get; init; }
Property Value
Constructors
GrpcSimulatedTransaction(GrpcExecutedTransaction, UInt64?, GrpcCommandResult[], GrpcSimulatedExecutionError)
The result of simulating a transaction.
public GrpcSimulatedTransaction(GrpcExecutedTransaction? Transaction, ulong? SuggestedGasPrice, GrpcCommandResult[]? CommandResults, GrpcSimulatedExecutionError? ExecutionError)
Parameters
Transaction GrpcExecutedTransaction?
The simulated executed transaction.
SuggestedGasPrice UInt64?
The suggested gas price (in NANOS).
CommandResults GrpcCommandResult[]?
The intermediate results/outputs for each command of the transaction, if the simulation
succeeded.
ExecutionError GrpcSimulatedExecutionError?
The execution error, if the simulation failed.
Methods
Dispose()
public void Dispose()