Skip to content

EnsureFundedParams

Defined in: algokit-utils-ts/src/types/transfer.ts:38

accountToFund: string | SendTransactionFrom

Defined in: algokit-utils-ts/src/types/transfer.ts:40

The account to fund


optional atc?: AtomicTransactionComposer

Defined in: algokit-utils-ts/src/types/transaction.ts:36

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

SendTransactionParams.atc


optional fee?: AlgoAmount

Defined in: algokit-utils-ts/src/types/transaction.ts:40

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

SendTransactionParams.fee


optional fundingSource?: TestNetDispenserApiClient | SendTransactionFrom

Defined in: algokit-utils-ts/src/types/transfer.ts:42

The account to use as a funding source, will default to using the dispenser account returned by algokit.getDispenserAccount


optional lease?: string | Uint8Array<ArrayBufferLike>

Defined in: algokit-utils-ts/src/types/transfer.ts:52

An (optional) transaction lease to apply


optional maxFee?: AlgoAmount

Defined in: algokit-utils-ts/src/types/transaction.ts:42

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

SendTransactionParams.maxFee


optional maxRoundsToWaitForConfirmation?: number

Defined in: algokit-utils-ts/src/types/transaction.ts:44

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

SendTransactionParams.maxRoundsToWaitForConfirmation


optional minFundingIncrement?: AlgoAmount

Defined in: algokit-utils-ts/src/types/transfer.ts:46

When issuing a funding amount, the minimum amount to transfer (avoids many small transfers if this gets called often on an active account)


minSpendingBalance: AlgoAmount

Defined in: algokit-utils-ts/src/types/transfer.ts:44

The minimum balance of Algo that the account should have available to spend (i.e. on top of minimum balance requirement)


optional note?: TransactionNote

Defined in: algokit-utils-ts/src/types/transfer.ts:50

The (optional) transaction note, default: “Funding account to meet minimum requirement”


optional populateAppCallResources?: boolean

Defined in: algokit-utils-ts/src/types/transaction.ts:46

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.

SendTransactionParams.populateAppCallResources


optional skipSending?: boolean

Defined in: algokit-utils-ts/src/types/transaction.ts:32

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

SendTransactionParams.skipSending


optional skipWaiting?: boolean

Defined in: algokit-utils-ts/src/types/transaction.ts:34

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

SendTransactionParams.skipWaiting


optional suppressLog?: boolean

Defined in: algokit-utils-ts/src/types/transaction.ts:38

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

SendTransactionParams.suppressLog


optional transactionParams?: SuggestedParams

Defined in: algokit-utils-ts/src/types/transfer.ts:48

Optional transaction parameters