core-lightning/doc/schemas/fundchannel.request.json
Christian Decker 5c1de8029a openingd: Add reserve to fundchannel and multifundchannel
Changelog-Added: JSON-RPC: `fundchannel`, `multifundchannel` and `fundchannel_start` now accept a `reserve` parameter to indicate the absolute reserve to impose on the peer.
2022-09-21 11:25:47 +02:00

54 lines
1.0 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"required": [
"id",
"amount"
],
"properties": {
"id": {
"type": "pubkey",
"description": "id is the peer id obtained from connect."
},
"amount": {
"type": "msat_or_all"
},
"feerate": {
"type": "feerate"
},
"announce": {
"type": "boolean"
},
"minconf": {
"type": "u32"
},
"push_msat": {
"type": "msat"
},
"close_to": {
"type": "string"
},
"request_amt": {
"type": "msat"
},
"compact_lease": {
"type": "string"
},
"utxos": {
"type": "array",
"items": {
"type": "outpoint"
}
},
"mindepth": {
"description": "Number of confirmations required before we consider the channel active",
"type": "u32"
},
"reserve": {
"type": "msat",
"description": "The amount we want the peer to maintain on its side"
}
}
}