Skip to content

TransactionComposerParams

TransactionComposerParams = object

Defined in: algokit-utils-ts/src/types/composer.ts:504

Parameters to create an TransactionComposer.

algod: algosdk.Algodv2

Defined in: algokit-utils-ts/src/types/composer.ts:506

The algod client to use to get suggestedParams and send the transaction group


optional appManager?: AppManager

Defined in: algokit-utils-ts/src/types/composer.ts:519

An existing AppManager to use to manage app compilation and cache compilation results.

If not specified then an ephemeral one will be created.


optional defaultValidityWindow?: bigint

Defined in: algokit-utils-ts/src/types/composer.ts:514

How many rounds a transaction should be valid for by default; if not specified then will be 10 rounds (or 1000 rounds if issuing transactions to LocalNet).


optional errorTransformers?: ErrorTransformer[]

Defined in: algokit-utils-ts/src/types/composer.ts:524

An array of error transformers to use when an error is caught in simulate or execute callbacks can later be registered with registerErrorTransformer


getSigner: (address) => algosdk.TransactionSigner

Defined in: algokit-utils-ts/src/types/composer.ts:508

The function used to get the TransactionSigner for a given address

string | Address

algosdk.TransactionSigner


optional getSuggestedParams?: () => Promise<algosdk.SuggestedParams>

Defined in: algokit-utils-ts/src/types/composer.ts:510

The method used to get SuggestedParams for transactions in the group

Promise<algosdk.SuggestedParams>