mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-03 20:44:54 +01:00
560b090bd8
[ Slight modifications to fix schema -- RR ]
29 lines
875 B
JSON
29 lines
875 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!)"
|
|
}
|
|
}
|
|
}
|