- You want to swap in 100.000 sats, Onchain to Lightning:
+ {% raw %} You want to swap in {{ boltzExample.amount }} sats, Onchain to
+ Lightning:
- Onchain lockup tx fee: whatever you choose when paying
- - Onchain claim tx fee: ~500 sats
+ - Onchain claim tx fee: ~{{ boltzExample.onchain_boltz }} sats
- Routing fees (paid by boltz): unknown
- - Boltz fees: 500 sats (0.5%)
- - Fees total: 1000 sats + lockup_fee
- - You pay onchain: 101.000 sats + lockup_fee
- - You receive lightning: 100.000 sats
+ -
+ Boltz fees: {{ boltzExample.boltz_fee }} sats ({{
+ boltzConfig.fee_percentage }}%)
+
+ -
+ Fees total: {{ boltzExample.normal_fee_total }} sats + lockup_fee
+
+ -
+ You pay onchain: {{ boltzExample.normal_expected_amount }} sats +
+ lockup_fee
+
+ - You receive lightning: {{ boltzExample.amount }} sats
-
- onchain_payment + lockup_fee = amount + (amount * boltz_fee / 100) +
- claim_fee + lockup_fee
-
- 101.000 + lockup_fee = 100.000 + 500 + 500 + lockup_fee
+ onchain_payment = amount + (amount * boltz_fee / 100) + claim_fee
+ {% endraw %}