Payment Transaction
Fields
A payment transaction additionally has the following fields:
FIELD | CODEC | TYPE | REQUIRED |
---|---|---|---|
Amount | amt | uint64 | Yes |
Receiver | rcv | address | Yes |
Close-to | close | address | No |
Amount
The amount \( a \) indicates the number of μALGO being transferred by the payment transaction.
If the amount is omitted (\( a = 0 \)), the number of μALGO transferred is zero.
Receiver
The receiver \( I^\prime \) specifies the receiver of the amount in the payment transaction.
If the receiver is omitted (\( I^\prime = 0 \)), the amount is transferred to the zero address.
Close-to
The close to address \( I_0 \) (OPTIONAL) collects all remaining μALGO in the sender account after the payment transfer.
If the close to address is omitted (\( I_0 = 0 \)), the field has no effect.
Semantic
TODO
Validation
TODO