Skip to content

transferAlgos

transferAlgos(transfer, algod): Promise<SendTransactionResult>

Defined in: algokit-utils-ts/src/transfer/transfer-algos.ts:22

AlgoTransferParams

The transfer definition

AlgodClient

An algod client

Promise<SendTransactionResult>

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

Usage example

await algokit.transferAlgos({ from, to, amount: algokit.algo(1) }, algod)