Skip to content

PaymentTransactionFields

PaymentTransactionFields = object

Defined in: packages/transact/src/transactions/payment.ts:8

Represents a payment transaction that transfers ALGO between accounts.

Payment transactions are used to transfer ALGO between accounts.

amount: bigint

Defined in: packages/transact/src/transactions/payment.ts:19

The amount of microALGO to send.

Specified in microALGO (1 ALGO = 1,000,000 microALGO).


optional closeRemainderTo: Address

Defined in: packages/transact/src/transactions/payment.ts:28

Optional address to send all remaining funds to after the transfer.

If specified, this indicates that the sender account should be closed after the transaction, and all remaining funds (minus fees) should be transferred to the specified address. This effectively removes the sender account from the ledger.


receiver: Address

Defined in: packages/transact/src/transactions/payment.ts:12

The address of the account receiving the ALGO payment.