SimulationResult
The result of simulating a transaction, including the predicted effects, events, and any errors.
type SimulationResult {
effects: TransactionEffects
error: String
events: [Event!]
outputs: [CommandResult!]
}
Fields
SimulationResult.effects ● TransactionEffects object
The predicted effects of the transaction if it were executed.
None if the simulation failed due to an error.
SimulationResult.error ● String scalar
Error message if the simulation failed.
None if the simulation was successful.
SimulationResult.events ● [Event!] list object
The events that would be emitted if the transaction were executed.
None if the simulation failed or no events would be emitted.
SimulationResult.outputs ● [CommandResult!] list object
The intermediate outputs for each command of the transaction simulation, including contents of mutated references and return values.
Returned By
simulateTransaction query