mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-21 22:31:48 +01:00
Some rpc commands did not have their corresponding *.request.json files to generate the consolidated json
28 lines
1.1 KiB
JSON
28 lines
1.1 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"channel_id",
|
|
"amount",
|
|
"initialpsbt"
|
|
],
|
|
"properties": {
|
|
"channel_id": {
|
|
"type": "hash",
|
|
"description": "id of the channel to RBF"
|
|
},
|
|
"amount": {
|
|
"type": "sat",
|
|
"description": "satoshi value that we will contribute to the channel. This value will be _added_ to the provided PSBT in the output which is encumbered by the 2-of-2 script for this channel"
|
|
},
|
|
"initialpsbt": {
|
|
"type": "string",
|
|
"description": "the funded, incomplete PSBT that specifies the UTXOs and change output for our channel contribution. It can be updated, see `openchannel_update`; *initialpsbt* must have at least one input. Must have the Non-Witness UTXO (PSBT_IN_NON_WITNESS_UTXO) set for every input. An error (code 309) will be returned if this requirement is not met"
|
|
},
|
|
"funding_feerate": {
|
|
"type": "feerate",
|
|
"description": "feerate for the funding transaction. Defaults to 1/64th greater than the last feerate used for this channel"
|
|
}
|
|
}
|
|
}
|