Skip to content

transferAsset

transferAsset(transfer, algod): Promise<SendTransactionResult>

Defined in: src/transfer/transfer.ts:90

Parameters

transfer

TransferAssetParams

The transfer definition

algod

AlgodClient

An algod client

Returns

Promise<SendTransactionResult>

The transaction object and optionally the confirmation if it was sent to the chain (skipSending is false or unset)

Example

await algokit.transferAsset({ from, to, assetId, amount }, algod)