core-lightning/doc/schemas/upgradewallet.schema.json
niftynei 35f12b4ca1 upgradewallet: JSONRPC call to update p2sh outputs to a native segwit
v2 opens require you to use native segwit inputs

Changelog-Added: JSONRPC: `upgradewallet` command, sweeps all p2sh-wrapped outputs to a native segwit output
2023-02-04 15:31:16 +10:30

31 lines
671 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"required": [
"upgraded_outs"
],
"properties": {
"upgraded_outs": {
"type": "u64",
"description": "Count of spent/upgraded UTXOs",
"added": "v23.02"
},
"psbt": {
"type": "string",
"description": "The PSBT that was finalized and sent",
"added": "v23.02"
},
"tx": {
"type": "hex",
"description": "The raw transaction which was sent",
"added": "v23.02"
},
"txid": {
"type": "txid",
"description": "The txid of the **tx**",
"added": "v23.02"
}
}
}