breez/breez-sdk-greenlight

Expose additional Reverse Swap data in resulting `Payment`

Closed this issue · 1 comments

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.

Duplicate of #1111