core-lightning/doc/schemas/utxopsbt.request.json
Rusty Russell 0402e645f0 lightningd: add option opening_anchor_channel to fundpsbt, utxopsbt.
This is needed when we know we're *opening* an anchor channel, to
override the "do we already have an anchor channel open?" logic.

Also, document the nonwrapped arg added in v23.02.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Added: JSON-RPC: `fundpsbt` and `utxopsbt` new parameter `opening_anchor_channel` so lightningd knowns it needs emergency reserve for anchors.
2023-06-29 11:28:47 -04:00

49 lines
985 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"required": [
"satoshi",
"feerate",
"startweight",
"utxos"
],
"properties": {
"satoshi": {
"type": "msat"
},
"feerate": {
"type": "feerate"
},
"startweight": {
"type": "u32"
},
"utxos": {
"type": "array",
"items": {
"type": "outpoint"
}
},
"reserve": {
"type": "u32",
"description": "reserve is a number: if non-zero number then reserveinputs is called (successfully, with exclusive true) on the returned PSBT for this number of blocks (default: 72)."
},
"reservedok": {
"type": "boolean"
},
"locktime": {
"type": "u32"
},
"min_witness_weight": {
"type": "u32"
},
"excess_as_change": {
"type": "boolean"
},
"opening_anchor_channel": {
"added": "v23.08",
"type": "boolean"
}
}
}