robosats/docs/_pages/docs/03-understand/14-on-chain-payouts.md
okada-blue b1cc3ce086 Update Docs - Minor Fixes (#327)
* Update 02-robots.md

Add `{% include improve %}` at end of section

* Update 03-premium.md

Add `{% include improve %}` at end of section

* Update 04-bonds.md

Add `{% include improve %}` at end of section
Update section to include `{{site.robosats.VARIABLE}}`

* Update 05-trade-escrow.md

Add `{% include improve %}` at end of section
Update section to include `{{site.robosats.VARIABLE}}`

* Update 07-wallets.md

Update section to include `{{site.robosats.VARIABLE}}`

* Update 09-swaps.md

Add `{% include improve %}` at end of section
Update section to include `{{site.robosats.VARIABLE}}`

* Update 12-prices.md

Add `{% include improve %}` at end of section

* Update 14-on-chain-payouts.md

Add `{% include improve %}` at end of section
2022-11-24 17:54:21 +00:00

63 lines
2.5 KiB
Markdown

---
layout: single
title: On-chain Payouts
permalink: /docs/on-chain-payouts/
sidebar:
title: '<img id="side-icon-verybig" src="/assets/vector/link-solid.svg"/>On-chain Payouts'
nav: docs
src: "_pages/docs/03-understand/14-on-chain-payouts.md"
---
Although Robosats is an exchange built on top of the lightning network, there
is an option however, for the buyer to receive their sats to an on-chain
bitcoin address. This is referred to as an on-chain payout or sometimes,
on-chain swap (not to be confused with [P2P Swaps](/docs/swaps)). On the UI,
this option is available after the taker has locked their bond. When the order
status is on "Waiting for buyer invoice", you should see two options -
"Lightning" and "Onchain":
<div align="center">
<img src="/assets/images/understand/14-on-chain-payouts/contract-box-on-waiting-for-buyer-invoice.png"/>
</div>
When you click on the on-chain address option you see the following:
<div align="center">
<img src="/assets/images/understand/14-on-chain-payouts/on-chain-box.png"/>
</div>
An overview of the fees is displayed and you can enter an on-chain bitcoin
address for the payout and also enter the mining fees. The *Swap fee* is an
additional fee that Robosats charges for making the on-chain payment. This does
not include the taker/maker fees. The Swap fee is charged on the amount after
deducting the taker/maker fees. In addition to the swap fee, there's also the
mining fee for the on-chain transaction. You can choose the mining fee that
suits your need of the hour. The *Mining Fee* input let's you choose the fee
rate in sats/vbyte.
If the on-chain address is valid, then the order moves to the next stage as
usual. At the end, if the trade was successful you should see a screen
something like this with the transaction id of the payout transaction:
<div align="center">
<img src="/assets/images/understand/14-on-chain-payouts/successful-trade-on-chain.png"/>
</div>
### On-chain payout fees
The on-chain payout fees (aka Swap fees) keeps changing from time to time. It
may range from 1% to 10%. To get the current on-chain fees you can check the
exchange summary by clicking on the "%" button from the home screen:
<div align="center">
<img src="/assets/images/understand/14-on-chain-payouts/exchange-info-icon.png"/>
</div>
The exchange summary dialog displays the current value of the on-chain payout fees:
<div align="center">
<img src="/assets/images/understand/14-on-chain-payouts/exchange-summary.png"/>
</div>
{% include improve %}