sendPayment
sendPayment(
params
):void
Send a payment transaction
Parameters
• params
• params.amount?: uint64
The amount, in microALGO, to transfer
• params.closeRemainderTo?: Address
If set, bring the sender balance to 0 and send all remaining balance to this address
• params.fee?: uint64
The fee paid for this transaction
• params.note?: string
The note field for this transaction
• params.receiver?: Address
The address of the receiver
• params.rekeyTo?: Address
If set, changes the authAddr of sender
to the given address
• params.sender?: Address
The sender of this transaction. This is the account that pays the fee (if non-zero)
Returns
void