Skip to content

Create Publication

We are looking for publications that demonstrate building dApps or smart contracts!
See the full list of Gitcoin bounties that are eligible for rewards.

types transfer.EnsureFundedParams

@algorandfoundation/algokit-utils / types/transfer / EnsureFundedParams

Interface: EnsureFundedParams

types/transfer.EnsureFundedParams

Parameters for ensureFunded call.

Hierarchy

EnsureFundedParams

Table of contents

Properties

Properties

accountToFund

accountToFund: string | SendTransactionFrom

The account to fund

Defined in

src/types/transfer.ts:40


atc

Optional atc: AtomicTransactionComposer

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

Inherited from

SendTransactionParams.atc

Defined in

src/types/transaction.ts:35


fee

Optional fee: AlgoAmount

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

Inherited from

SendTransactionParams.fee

Defined in

src/types/transaction.ts:39


fundingSource

Optional fundingSource: SendTransactionFrom | TestNetDispenserApiClient

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

Defined in

src/types/transfer.ts:42


lease

Optional lease: string | Uint8Array

An (optional) transaction lease to apply

Defined in

src/types/transfer.ts:52


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

Inherited from

SendTransactionParams.maxFee

Defined in

src/types/transaction.ts:41


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

Inherited from

SendTransactionParams.maxRoundsToWaitForConfirmation

Defined in

src/types/transaction.ts:43


minFundingIncrement

Optional minFundingIncrement: AlgoAmount

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

Defined in

src/types/transfer.ts:46


minSpendingBalance

minSpendingBalance: AlgoAmount

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

Defined in

src/types/transfer.ts:44


note

Optional note: TransactionNote

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

Defined in

src/types/transfer.ts:50


populateAppCallResources

Optional populateAppCallResources: boolean

WARNING: Not recommended for production use due to https://github.com/algorand/go-algorand/issues/5914. 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.

Inherited from

SendTransactionParams.populateAppCallResources

Defined in

src/types/transaction.ts:45


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

Inherited from

SendTransactionParams.skipSending

Defined in

src/types/transaction.ts:31


skipWaiting

Optional skipWaiting: boolean

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

Inherited from

SendTransactionParams.skipWaiting

Defined in

src/types/transaction.ts:33


suppressLog

Optional suppressLog: boolean

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

Inherited from

SendTransactionParams.suppressLog

Defined in

src/types/transaction.ts:37


transactionParams

Optional transactionParams: SuggestedParams

Optional transaction parameters

Defined in

src/types/transfer.ts:48