github.com/algorand/go-algorand-sdk@v1.24.0/client/v2/common/models/transaction_payment.go (about) 1 package models 2 3 // TransactionPayment fields for a payment transaction. 4 // Definition: 5 // data/transactions/payment.go : PaymentTxnFields 6 type TransactionPayment struct { 7 // Amount (amt) number of MicroAlgos intended to be transferred. 8 Amount uint64 `json:"amount"` 9 10 // CloseAmount number of MicroAlgos that were sent to the close-remainder-to 11 // address when closing the sender account. 12 CloseAmount uint64 `json:"close-amount,omitempty"` 13 14 // CloseRemainderTo (close) when set, indicates that the sending account should be 15 // closed and all remaining funds be transferred to this address. 16 CloseRemainderTo string `json:"close-remainder-to,omitempty"` 17 18 // Receiver (rcv) receiver's address. 19 Receiver string `json:"receiver"` 20 }