core-lightning/doc/schemas/fundchannel_start.schema.json
Christian Decker 185cd81be4 jsonrpc: Add mindepth argument to fundchannel and multifundchannel
This will eventually enable us to specify 0 for zeroconf channels.

Changelog-Added: JSON-RPC: Added `mindepth` argument to specify the number of confirmations we require for `fundchannel` and `multifundchannel`
2022-07-04 22:14:06 +02:00

33 lines
1007 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"required": [
"funding_address",
"scriptpubkey",
"warning_usage"
],
"properties": {
"funding_address": {
"type": "string",
"description": "The address to send funding to for the channel. DO NOT SEND COINS TO THIS ADDRESS YET."
},
"scriptpubkey": {
"type": "hex",
"description": "The raw scriptPubkey for the address"
},
"close_to": {
"type": "hex",
"description": "The raw scriptPubkey which mutual close will go to; only present if *close_to* parameter was specified and peer supports `option_upfront_shutdown_script`"
},
"warning_usage": {
"type": "string",
"description": "A warning not to prematurely broadcast the funding transaction (always present!)"
},
"mindepth": {
"type": "u32",
"description": "Number of confirmations before we consider the channel active."
}
}
}