breez / breez-sdk-greenlight

MIT License
244 stars 43 forks source link

Expose additional Reverse Swap data in resulting `Payment` #1029

Closed danielgranhao closed 5 days ago

danielgranhao commented 4 months ago

There is currently no way to get the fees spent in past reverse swaps. It would be useful if a Payment resulting from a reverse swap included fee information like fees_claim, fees_lockup and total_fees. These are currently only provided when preparing an onchain send.

One option would be to include this data in ReverseSwapInfo.

Additionally, the recipient onchain address is not exposed, which can be useful for a user who wants to check where he sent funds to.

danielgranhao commented 5 days ago

Duplicate of #1111