Skip to content

transferAlgos

transferAlgos(transfer, algod): Promise<SendTransactionResult>

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

Parameters

transfer

AlgoTransferParams

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.transferAlgos({ from, to, amount: algokit.algo(1) }, algod)