Skip to content

TransferAssetParams

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

amount: number | bigint

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

The amount to send as the smallest divisible unit value


assetId: number

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

The asset id that will be transferred


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 clawbackFrom?: string | SendTransactionFrom

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

An address of a target account from which to perform a clawback operation. Please note, in such cases senderAccount must be equal to clawback field on ASA metadata.


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


from: SendTransactionFrom

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

The account that will send the asset


optional lease?: string | Uint8Array<ArrayBufferLike>

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

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 note?: TransactionNote

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

The (optional) transaction note


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


to: string | SendTransactionFrom

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

The account / account address that will receive the asset


optional transactionParams?: SuggestedParams

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

Optional transaction parameters