Skip to main content

GrpcSimulatedTransaction

data class GrpcSimulatedTransaction(var transaction: GrpcExecutedTransaction?, var suggestedGasPrice: ULong?, var commandResults: List<GrpcCommandResult>?, var executionError: GrpcSimulatedExecutionError?) : Disposable

The result of simulating a transaction.

Constructors​

GrpcSimulatedTransactionconstructor(transaction: GrpcExecutedTransaction?, suggestedGasPrice: ULong?, commandResults: List<GrpcCommandResult>?, executionError: GrpcSimulatedExecutionError?)

Properties​

NameSummary
commandResultsvar commandResults: List<GrpcCommandResult>?
The intermediate results/outputs for each command of the transaction, if the simulation succeeded.
executionErrorvar executionError: GrpcSimulatedExecutionError?
The execution error, if the simulation failed.
suggestedGasPricevar suggestedGasPrice: ULong?
The suggested gas price (in NANOS).
transactionvar transaction: GrpcExecutedTransaction?
The simulated executed transaction.

Functions​

NameSummary
destroyopen override fun destroy()