withdrawfunds

NAME
----
withdrawfunds - send XMR received during a trade to an external XMR wallet

SYNOPSIS
--------
withdrawfunds
		--trade-id=<trade-id>
		--address=<btc-address>
		[--memo=<"memo">]

DESCRIPTION
-----------
A XMR buyer completes the final step in the trade protocol by sending received XMR to
an external XMR wallet.

The alternative way to close out the trade is to keep the received XMR in the Haveno wallet,
using the keepfunds command.

The buyer needs to complete the trade protocol using the keepfunds or withdrawfunds or command.
This step may not seem necessary from the buyer's perspective, but it is necessary for correct
transition of a trade's state to CLOSED, within the Haveno server.

OPTIONS
-------
--trade-id
		The ID of the trade (the full offer-id).

--address
		The destination btc address for the send btc transaction.

--memo
		An optional memo to be saved with the send btc transaction.
		A multi word memo must be enclosed in double quotes.

EXAMPLES
--------
A XMR seller has informed the buyer that fiat payment has been received for trade with ID
83e8b2e2-51b6-4f39-a748-3ebd29c22aea, and locked XMR has been released to the buyer.
The XMR buyer closes out the trade by sending the received XMR to an external XMR wallet:
$ ./haveno-cli --password=xyz --port=9998 withdrawfunds --trade-id=83e8b2e2-51b6-4f39-a748-3ebd29c22aea \
    --address=2N5J6MyjAsWnashimGiNwoRzUXThsQzRmbv               (monero stagetnet address)


A seller sends a trade's XMR proceeds to an external wallet, and includes an optional memo:
$ ./haveno-cli --password=xyz --port=9998 withdrawfunds --trade-id=83e8b2e2-51b6-4f39-a748-3ebd29c22aea \
    --address=2N5J6MyjAsWnashimGiNwoRzUXThsQzRmbv \
    --memo="note to self"
