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.
Properties
Section titled “Properties”amount
Section titled “amount”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).
closeRemainderTo?
Section titled “closeRemainderTo?”
optionalcloseRemainderTo: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
Section titled “receiver”receiver:
Address
Defined in: packages/transact/src/transactions/payment.ts:12
The address of the account receiving the ALGO payment.