From 498686b340aa0011e58fe30d84d6c19542e798e2 Mon Sep 17 00:00:00 2001 From: Arc Date: Thu, 5 Oct 2023 09:32:04 +0100 Subject: [PATCH 1/2] adds chained luds --- 24.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 24.md diff --git a/24.md b/24.md new file mode 100644 index 0000000..a00701d --- /dev/null +++ b/24.md @@ -0,0 +1,8 @@ +WIP: LUD-24: LNURL chain. +===================================================== + +`author: arcbtc` + +--- + +Extends LUD-19, so ANY LNURL can be returned in the JSON response. From 5ed78a9a4773cedcd729cb0b7d2a1009c8b789b7 Mon Sep 17 00:00:00 2001 From: Arc Date: Thu, 5 Oct 2023 09:45:25 +0100 Subject: [PATCH 2/2] adds action --- 24.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/24.md b/24.md index a00701d..eb33f16 100644 --- a/24.md +++ b/24.md @@ -5,4 +5,17 @@ WIP: LUD-24: LNURL chain. --- -Extends LUD-19, so ANY LNURL can be returned in the JSON response. +Extends LUD-19, so ANY LNURL can be returned in the JSON response as an `action`. Upon success, if the `action` exists it will be automatically used. + +```diff + { + "tag": "withdrawRequest", + "callback": string, + "k1": string, + "defaultDescription": string, + "minWithdrawable": number, + "maxWithdrawable": number, + "balanceCheck": string, ++ "action": + } +```