Type alias SimulateFn<IDL, I>

SimulateFn<IDL, I>: InstructionContextFn<IDL, I, Promise<SimulateResponse>>

SimulateFn is a single method generated from an IDL. It simulates a method against a cluster configured by the provider, returning a list of all the events and raw logs that were emitted during the execution of the method.

Type Parameters

  • IDL extends Idl = Idl
  • I extends AllInstructions<IDL> = AllInstructions<IDL>