Skip to main content

Type Alias: DryRunResult

type DryRunResult = {
effects?: TransactionEffectsLike;
error?: string;
results: DryRunEffect[];
transaction?: SignedTransaction;
};

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.

Properties

effects?

optional effects?: TransactionEffectsLike;

The effects of the transaction execution.


error?

optional error?: string;

The error that occurred during dry run execution, if any.


results

results: DryRunEffect[];

The intermediate results for each command of the dry run execution, including contents of mutated references and return values.


transaction?

optional transaction?: SignedTransaction;

The transaction block representing the dry run execution.