Skip to content

AssetTransferParams

AssetTransferParams = CommonTransactionParams & object

Defined in: algokit-utils-ts/src/types/composer.ts:283

Parameters to define an asset transfer transaction.

amount: bigint

Amount of the asset to transfer (in smallest divisible (decimal) units).

assetId: bigint

ID of the asset to transfer.

optional clawbackTarget?: string | Address

Optional address of an account to clawback the asset from.

Requires the sender to be the clawback account.

Warning: Be careful with this parameter as it can lead to unexpected loss of funds if not used correctly.

optional closeAssetTo?: string | Address

Optional address of an account to close the asset position to.

Warning: Be careful with this parameter as it can lead to loss of funds if not used correctly.

receiver: string | Address

The address of the account that will receive the asset unit(s).