2022-06-07 21:30:58 +02:00
|
|
|
{
|
|
|
|
"$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": {
|
2022-07-01 13:52:25 +02:00
|
|
|
"type": "u32"
|
2022-06-07 21:30:58 +02:00
|
|
|
},
|
|
|
|
"push_msat": {
|
|
|
|
"type": "msat"
|
|
|
|
},
|
|
|
|
"close_to": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"request_amt": {
|
|
|
|
"type": "msat"
|
|
|
|
},
|
|
|
|
"compact_lease": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"utxos": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "outpoint"
|
|
|
|
}
|
2022-07-14 11:14:29 +02:00
|
|
|
},
|
|
|
|
"mindepth": {
|
|
|
|
"description": "Number of confirmations required before we consider the channel active",
|
|
|
|
"type": "u32"
|
2022-06-07 21:30:58 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|