Skip to content

TransactionComposerParams

TransactionComposerParams = object

Defined in: src/composer.ts:189

Parameters to create an TransactionComposer.

algod: AlgodClient

Defined in: src/composer.ts:191

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


optional appManager: AppManager

Defined in: src/composer.ts:204

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

If not specified then an ephemeral one will be created.


optional composerConfig: TransactionComposerConfig

Defined in: src/composer.ts:210


optional defaultValidityWindow: bigint

Defined in: src/composer.ts:199

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: src/composer.ts:209

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) => TransactionSigner

Defined in: src/composer.ts:193

The function used to get the TransactionSigner for a given address

ReadableAddress

TransactionSigner


optional getSuggestedParams: () => Promise<SuggestedParams>

Defined in: src/composer.ts:195

The method used to get SuggestedParams for transactions in the group

Promise<SuggestedParams>