mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-21 14:24:09 +01:00
Some rpc commands did not have their corresponding *.request.json files to generate the consolidated json
33 lines
1.2 KiB
JSON
33 lines
1.2 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"outputs"
|
|
],
|
|
"properties": {
|
|
"outputs": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "outputdesc"
|
|
},
|
|
"description": "an array containing objects of the form `{address: amount}`. The `amount` may be the string *all*, indicating that all onchain funds be sent to the specified address. Otherwise, it is in satoshi precision; it can be a whole number, a whole number ending in *sat*, a whole number ending in *000msat*, or a number with 1 to 8 decimal places ending in *btc*"
|
|
},
|
|
"feerate": {
|
|
"type": "feerate",
|
|
"description": "feerate used for the withdrawals. See NOTES in lightning-feerates(7) for possible values. The default is *normal*"
|
|
},
|
|
"minconf": {
|
|
"type": "u32",
|
|
"description": "minimum number of confirmations that used outputs should have. Default is 1",
|
|
"default": 1
|
|
},
|
|
"utxos": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "outpoint",
|
|
"description": "utxos to be used to be withdrawn from, as an array of `txid:vout`. These must be drawn from the node's available UTXO set"
|
|
}
|
|
}
|
|
}
|
|
}
|