prepareGroupForSending
prepareGroupForSending(
atc,algod,sendParams,additionalAtcContext?):Promise<AtomicTransactionComposer>
Defined in: algokit-utils-ts/src/transaction/transaction.ts:438
Take an existing Atomic Transaction Composer and return a new one with changes applied to the transactions
based on the supplied sendParams to prepare it for sending.
Please note, that before calling .execute() on the returned ATC, you must call .buildGroup().
Parameters
Section titled “Parameters”AtomicTransactionComposer
The ATC containing the txn group
AlgodClient
The algod client to use for the simulation
sendParams
Section titled “sendParams”The send params for the transaction group
additionalAtcContext?
Section titled “additionalAtcContext?”AdditionalAtomicTransactionComposerContext
Additional ATC context used to determine how best to change the transactions in the group
Returns
Section titled “Returns”Promise<AtomicTransactionComposer>
A new ATC with the changes applied