Skip to content

SendTransactionParams

Defined in: src/transaction/types.ts:25

The sending configuration for a transaction

optional fee: AlgoAmount

Defined in: src/transaction/types.ts:36

The flat fee you want to pay, useful for covering extra fees in a transaction group or app call


optional maxFee: AlgoAmount

Defined in: src/transaction/types.ts:38

The maximum fee that you are happy to pay (default: unbounded) - if this is set it’s possible the transaction could get rejected during network congestion


optional maxRoundsToWaitForConfirmation: number

Defined in: src/transaction/types.ts:40

The maximum number of rounds to wait for confirmation, only applies if skipWaiting is undefined or false, default: wait up to 5 rounds


optional populateAppCallResources: boolean

Defined in: src/transaction/types.ts:42

Whether to use simulate to automatically populate app call resources in the txn objects. Defaults to true when there are app calls in the group.


optional skipSending: boolean

Defined in: src/transaction/types.ts:28

Whether to skip signing and sending the transaction to the chain (default: transaction signed and sent to chain, unless atc specified) and instead just return the raw transaction, e.g. so you can add it to a group of transactions


optional skipWaiting: boolean

Defined in: src/transaction/types.ts:30

Whether to skip waiting for the submitted transaction (only relevant if skipSending is false or unset)


optional suppressLog: boolean

Defined in: src/transaction/types.ts:34

Whether to suppress log messages from transaction send, default: do not suppress


optional transactionComposer: TransactionComposer

Defined in: src/transaction/types.ts:32

An optional TransactionComposer to add the transaction to, if specified then skipSending: undefined has the same effect as skipSending: true