Skip to main content

SimulatedTransaction

@iota/grpc


@iota/grpc / SimulatedTransaction

Type Alias: SimulatedTransaction

SimulatedTransaction = Message<"iota.grpc.v1.transaction_execution_service.SimulatedTransaction"> & object

Defined in: sdk/grpc/src/proto/iota/grpc/v1/transaction_execution_service_pb.ts:268

The result of simulating a single transaction.

Type Declaration​

executedTransaction?​

optional executedTransaction?: ExecutedTransaction

Generated​

from field: optional iota.grpc.v1.transaction.ExecutedTransaction executed_transaction = 1;

executionResult​

executionResult: { case: "commandResults"; value: CommandResults; } | { case: "executionError"; value: ExecutionError; } | { case: undefined; value?: undefined; }

Union Members​

Type Literal​

{ case: "commandResults"; value: CommandResults; }

case​

case: "commandResults"

value​

value: CommandResults

Generated​

from field: iota.grpc.v1.command.CommandResults command_results = 3;


Type Literal​

{ case: "executionError"; value: ExecutionError; }

case​

case: "executionError"

value​

value: ExecutionError

Generated​

from field: iota.grpc.v1.transaction_execution_service.ExecutionError execution_error = 4;


Type Literal​

{ case: undefined; value?: undefined; }

Generated​

from oneof iota.grpc.v1.transaction_execution_service.SimulatedTransaction.execution_result

suggestedGasPrice?​

optional suggestedGasPrice?: bigint

Generated​

from field: optional uint64 suggested_gas_price = 2;

Generated​

from message iota.grpc.v1.transaction_execution_service.SimulatedTransaction