Skip to main content

Type Alias: GraphQlDryRunResult

type GraphQlDryRunResult = {
effects?: TransactionEffectsLike;
error?: string;
results: GraphQlDryRunEffect[];
suggestedGasPrice?: bigint;
transaction?: TransactionLike;
};

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?​

effects?: TransactionEffectsLike;

The effects of the transaction execution.


error?​

error?: string;

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


results​

results: GraphQlDryRunEffect[];

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


suggestedGasPrice?​

suggestedGasPrice?: bigint;

The gas price to use. This is the reference gas price, or a higher price if an input object is congested.


transaction?​

transaction?: TransactionLike;

The transaction that was dry run, without signatures.