SendTransactionParams
Defined in: src/transaction/types.ts:25
The sending configuration for a transaction
Properties
Section titled “Properties”
optionalfee: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
maxFee?
Section titled “maxFee?”
optionalmaxFee: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
maxRoundsToWaitForConfirmation?
Section titled “maxRoundsToWaitForConfirmation?”
optionalmaxRoundsToWaitForConfirmation: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
populateAppCallResources?
Section titled “populateAppCallResources?”
optionalpopulateAppCallResources: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.
skipSending?
Section titled “skipSending?”
optionalskipSending: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
skipWaiting?
Section titled “skipWaiting?”
optionalskipWaiting:boolean
Defined in: src/transaction/types.ts:30
Whether to skip waiting for the submitted transaction (only relevant if skipSending is false or unset)
suppressLog?
Section titled “suppressLog?”
optionalsuppressLog:boolean
Defined in: src/transaction/types.ts:34
Whether to suppress log messages from transaction send, default: do not suppress
transactionComposer?
Section titled “transactionComposer?”
optionaltransactionComposer: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