Skip to content

PaymentParams

PaymentParams = CommonTransactionParams & object

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

Parameters to define a payment transaction.

amount: AlgoAmount

Amount to send

optional closeRemainderTo?: string | Address

If given, close the sender account and send the remaining balance to this address

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 Algo