core-lightning/doc/schemas/txdiscard.schema.json
Rusty Russell 2ddecdc95a doc: schemas for everything else.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Fixed: doc: Epic documentation rewrite: each now lists complete and accurate JSON output, tested against testsuite.
2021-06-25 09:49:33 +09:30

16 lines
335 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"required": [ "unsigned_tx", "txid" ],
"properties": {
"unsigned_tx": {
"type": "hex",
"description": "the unsigned transaction"
},
"txid": {
"type": "txid",
"description": "the transaction id of *unsigned_tx*"
}
}
}