takeoffer

NAME
----
takeoffer - take an offer to buy or sell BTC

SYNOPSIS
--------
takeoffer
		--offer-id=<offer-id>
		--payment-account=<payment-acct-id>
		[--fee-currency=<btc|bsq>]

DESCRIPTION
-----------
Take an existing offer. There are currently two types offers and trade protocols.

    BSQ swap offers

        The takeoffer command only requires an offer-id parameter, and sufficient BSQ and BTC
        to cover the trade amount and the taker fee.  The trade (swap) will be executed immediately
        after being successfully taken.

    Version 1 protocol fiat and BSQ offers

        The offer-id and payment-account parameters are required.  The fee-currency parameter can
        be optionally used to pay the taker fee in BSQ.

OPTIONS
-------
--offer-id
		The ID of the buy or sell offer to take.

--payment-account
		The ID of the fiat payment account used to send or receive funds during the trade.
		The payment account's payment method must match that of the offer.

--fee-currency
		The wallet currency used to pay the Bisq trade taker fee (BSQ|BTC).  Default is BTC

EXAMPLES
--------
To take a BSQ swap offer with ID y3a8b2e2-51b6-4f39-b6c1-3ebd52c22aea;
$ ./bisq-cli --password=xyz --port=9998 takeoffer --offer-id=y3a8b2e2-51b6-4f39-b6c1-3ebd52c22aea

To take an offer with ID 83e8b2e2-51b6-4f39-a748-3ebd29c22aea
	using a payment account with ID fe20cdbd-22be-4b8a-a4b6-d2608ff09d6e,
	and paying the Bisq trading fee in BSQ:
$ ./bisq-cli --password=xyz --port=9998 takeoffer --offer-id=83e8b2e2-51b6-4f39-a748-3ebd29c22aea \
    --payment-account=fe20cdbd-22be-4b8a-a4b6-d2608ff09d6e \
    -fee-currency=bsq
