Skip to content

performAtomicTransactionComposerSimulate

performAtomicTransactionComposerSimulate(atc, algod, options?): Promise<SimulateResponse>

Defined in: algokit-utils-ts/src/transaction/perform-atomic-transaction-composer-simulate.ts:14

Performs a simulation of the transactions loaded into the given AtomicTransactionComposer. Uses empty transaction signers for all transactions.

AtomicTransactionComposer

The AtomicTransactionComposer with transaction(s) loaded.

AlgodClient

An Algod client to perform the simulation.

Omit<{ allowEmptySignatures?: boolean; allowMoreLogging?: boolean; allowUnnamedResources?: boolean; execTraceConfig?: SimulateTraceConfig; extraOpcodeBudget?: number | bigint; fixSigners?: boolean; round?: number | bigint; txnGroups: SimulateRequestTransactionGroup[]; }, "txnGroups">

Promise<SimulateResponse>

The simulation result, which includes various details about how the transactions would be processed.