TransactionComposerParams
TransactionComposerParams =
object
Defined in: src/composer.ts:189
Parameters to create an TransactionComposer.
Properties
Section titled “Properties”algod:
AlgodClient
Defined in: src/composer.ts:191
The algod client to use to get suggestedParams and send the transaction group
appManager?
Section titled “appManager?”
optionalappManager: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.
composerConfig?
Section titled “composerConfig?”
optionalcomposerConfig:TransactionComposerConfig
Defined in: src/composer.ts:210
defaultValidityWindow?
Section titled “defaultValidityWindow?”
optionaldefaultValidityWindow: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).
errorTransformers?
Section titled “errorTransformers?”
optionalerrorTransformers: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()
Section titled “getSigner()”getSigner: (
address) =>TransactionSigner
Defined in: src/composer.ts:193
The function used to get the TransactionSigner for a given address
Parameters
Section titled “Parameters”address
Section titled “address”Returns
Section titled “Returns”getSuggestedParams()?
Section titled “getSuggestedParams()?”
optionalgetSuggestedParams: () =>Promise<SuggestedParams>
Defined in: src/composer.ts:195
The method used to get SuggestedParams for transactions in the group
Returns
Section titled “Returns”Promise<SuggestedParams>