Skip to main content

Settle a Lightning swap with LNURL-withdraw

POST 

/settleWithLnurl

Triggers an LNURL-withdraw based settlement for supported Lightning-to-smart-chain swaps. Call this when getSwapStatus returns a SendToAddress current action, which corresponds to the PR_CREATED stage for these swaps. If the swap already contains an LNURL-withdraw link, do not pass lnurlWithdraw; otherwise lnurlWithdraw must be provided.

Request

Responses

Payment hash of the settled Lightning payment.