From aa39cbb6c20daaca3ce09750a612bc356658d000 Mon Sep 17 00:00:00 2001 From: Danny Diekroeger Date: Thu, 5 Jan 2023 13:30:02 -0800 Subject: [PATCH] Add optional on_chain_fee_rate to ChannelOrderRequest --- Open API/LSPS1.json | 4 ++++ Open API/LSPS1.yaml | 3 +++ channel-request.md | 1 + 3 files changed, 8 insertions(+) diff --git a/Open API/LSPS1.json b/Open API/LSPS1.json index 717f7b5..bd00fe8 100644 --- a/Open API/LSPS1.json +++ b/Open API/LSPS1.json @@ -102,6 +102,10 @@ "type": "integer", "description": "Outbound liquidity amount in satoshis" }, + "on_chain_fee_rate": { + "type": "number", + "description": "On-chain fee rate of the channel opening transaction in satoshis per vbyte" + }, "channel_expiry": { "type": "integer", "description": "Channel expiration in weeks. " diff --git a/Open API/LSPS1.yaml b/Open API/LSPS1.yaml index 93ac928..f16a1ff 100644 --- a/Open API/LSPS1.yaml +++ b/Open API/LSPS1.yaml @@ -68,6 +68,9 @@ definitions: local_balance: type: integer description: "Outbound liquidity amount in satoshis" + on_chain_fee_rate: + type: number + description: "On-chain fee rate of the channel opening transaction in satoshis per vbyte" channel_expiry: type: integer description: "Channel expiration in weeks. " diff --git a/channel-request.md b/channel-request.md index ad1cb8c..a97e693 100644 --- a/channel-request.md +++ b/channel-request.md @@ -21,6 +21,7 @@ Request an inbound channel with a specific size and duration. | node_connection_info | body | pubkey or pubkey@host:port | Yes | string | | remote_balance | body | Inbound liquidity amount in satoshis | No | integer | | local_balance | body | Outbound liqudity amount in satoshis | No | integer | +| on_chain_fee_rate | body | On-chain fee rate of the channel opening transaction in satoshis per vbyte | No | number | | channel_expiry | body | Channel expiration in weeks | No | integer |