Add optional on_chain_fee_rate to ChannelOrderRequest

This commit is contained in:
Danny Diekroeger
2023-01-05 13:30:02 -08:00
parent 020edb6ae4
commit aa39cbb6c2
3 changed files with 8 additions and 0 deletions

View File

@@ -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. "

View File

@@ -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. "

View File

@@ -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 |