core-lightning/doc/schemas/multifundchannel.request.json
Rusty Russell 3c2a57598f spenderp: add channel_type parameter to fundchannel / multifundchannel.
And add a request schema for multifundchannel.

Changelog-Added: JSON-RPC: `fundchannel` and `multifundchannel` now take an optional `channel_type` parameter.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2024-01-29 13:40:34 +10:30

76 lines
1.6 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"required": [
"destinations"
],
"properties": {
"destinations": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"id",
"amount"
],
"properties": {
"id": {
"type": "string"
},
"amount": {
"type": "msat_or_all"
},
"announce": {
"type": "boolean"
},
"push_msat": {
"type": "msat"
},
"close_to": {
"type": "string"
},
"request_amt": {
"type": "msat"
},
"compact_lease": {
"type": "string"
},
"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"
},
"channel_type": {
"type": "array",
"items": {
"type": "u32"
}
}
}
}
},
"feerate": {
"type": "feerate"
},
"minconf": {
"type": "u32"
},
"utxos": {
"type": "array",
"items": {
"type": "outpoint"
}
},
"minchannels": {
"type": "u32"
},
"commitment_feerate": {
"type": "feerate"
}
}
}