make size and duration optional

This commit is contained in:
John Cantrell
2022-07-06 14:27:06 -04:00
parent 0b8a40a2e8
commit cf83ed9d2c

View File

@@ -16,12 +16,12 @@ Request an inbound channel with a specific size and duration.
##### Parameters ##### Parameters
| Name | Located in | Description | Required | Default | Schema | | Name | Located in | Description | Required | Schema |
| ---- | ---------- | ----------- | -------- | ------- | ------ | | ---- | ---------- | ----------- | -------- | ------ |
| remote_balance | body | Inbound liquidity amount in satoshis | Yes | | integer | | node_connection_info | body | pubkey@host:port | Yes | string |
| local_balance | body | Outbound liqudity amount in satoshis | No | 0 | integer | | remote_balance | body | Inbound liquidity amount in satoshis | No | integer |
| channel_expiry | body | Channel expiration in weeks | Yes | | integer | | local_balance | body | Outbound liqudity amount in satoshis | No | integer |
| node_connection_info | body | pubkey@host:port | Yes | | string | | channel_expiry | body | Channel expiration in weeks | No | integer |
##### Response ##### Response