Skip to main content

GraphQlDryRunResult

data class GraphQlDryRunResult(var error: String?, var results: List<GraphQlDryRunEffect>, var transaction: Transaction?, var effects: TransactionEffects?, var suggestedGasPrice: ULong?) : 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​

GraphQlDryRunResultconstructor(error: String?, results: List<GraphQlDryRunEffect>, transaction: Transaction?, effects: TransactionEffects?, suggestedGasPrice: ULong?)

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<GraphQlDryRunEffect>
The intermediate results for each command of the dry run execution, including contents of mutated references and return values.
suggestedGasPricevar suggestedGasPrice: ULong?
The gas price to use. This is the reference gas price, or a higher price if an input object is congested.
transactionvar transaction: Transaction?
The transaction that was dry run, without signatures.

Functions​

NameSummary
destroyopen override fun destroy()