transferAsset
transferAsset(
transfer,algod):Promise<SendTransactionResult>
Defined in: algokit-utils-ts/src/transfer/transfer.ts:90
Parameters
Section titled “Parameters”transfer
Section titled “transfer”The transfer definition
AlgodClient
An algod client
Returns
Section titled “Returns”Promise<SendTransactionResult>
The transaction object and optionally the confirmation if it was sent to the chain (skipSending is false or unset)
Example
Section titled “Example”Usage example
await algokit.transferAsset({ from, to, assetId, amount }, algod)