Skip to main content

DryRunResult

data class DryRunResult(var error: String?, var results: List<DryRunEffect>, var transaction: SignedTransaction?, var effects: TransactionEffects?) : Disposable

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.

Constructors

DryRunResultconstructor(error: String?, results: List<DryRunEffect>, transaction: SignedTransaction?, effects: TransactionEffects?)

Properties

NameSummary
effectsvar effects: TransactionEffects?
The effects of the transaction execution.
errorvar error: String?
The error that occurred during dry run execution, if any.
resultsvar results: List<DryRunEffect>
The intermediate results for each command of the dry run execution, including contents of mutated references and return values.
transactionvar transaction: SignedTransaction?
The transaction block representing the dry run execution.

Functions

NameSummary
destroyopen override fun destroy()