Skip to content

populateAppCallResources

populateAppCallResources(atc, algod): Promise<AtomicTransactionComposer>

Defined in: src/transaction/transaction.ts:312

Take an existing Atomic Transaction Composer and return a new one with the required app call resources packed into it

Parameters

atc

AtomicTransactionComposer

The ATC containing the txn group

algod

AlgodClient

The algod client to use for the simulation

Returns

Promise<AtomicTransactionComposer>

A new ATC with the resources packed into the transactions