Skip to content

SendTransactionParams

@algorandfoundation/algokit-utils / types/transaction / SendTransactionParams

types/transaction.SendTransactionParams

The sending configuration for a transaction

Hierarchy

Table of contents

Properties

Properties

atc

Optional atc: AtomicTransactionComposer

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

Defined in

src/types/transaction.ts:36


fee

Optional fee: AlgoAmount

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

Defined in

src/types/transaction.ts:40


maxFee

Optional maxFee: AlgoAmount

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

Defined in

src/types/transaction.ts:42


maxRoundsToWaitForConfirmation

Optional maxRoundsToWaitForConfirmation: number

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

Defined in

src/types/transaction.ts:44


populateAppCallResources

Optional populateAppCallResources: boolean

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.

Defined in

src/types/transaction.ts:46


skipSending

Optional skipSending: boolean

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

Defined in

src/types/transaction.ts:32


skipWaiting

Optional skipWaiting: boolean

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

Defined in

src/types/transaction.ts:34


suppressLog

Optional suppressLog: boolean

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

Defined in

src/types/transaction.ts:38