2024-08-08 11:19:25 +05:30
|
|
|
{
|
|
|
|
|
"$schema": "../rpc-schema-draft.json",
|
|
|
|
|
"type": "object",
|
|
|
|
|
"rpc": "getemergencyrecoverdata",
|
|
|
|
|
"title": "Command to fetch data from the emergency.recover file",
|
|
|
|
|
"description": [
|
|
|
|
|
"The **getemergencyrecoverdata** RPC command is used to fetch data from the emergency.recover file, which contains encrypted data."
|
|
|
|
|
],
|
|
|
|
|
"request": {
|
|
|
|
|
"required": [],
|
2024-10-30 09:38:42 +10:30
|
|
|
"additionalProperties": false,
|
2024-08-08 11:19:25 +05:30
|
|
|
"properties": {}
|
|
|
|
|
},
|
|
|
|
|
"response": {
|
|
|
|
|
"required": [
|
|
|
|
|
"filedata"
|
|
|
|
|
],
|
2024-10-30 09:38:42 +10:30
|
|
|
"additionalProperties": false,
|
2024-08-08 11:19:25 +05:30
|
|
|
"properties": {
|
|
|
|
|
"filedata": {
|
|
|
|
|
"type": "hex",
|
|
|
|
|
"description": [
|
|
|
|
|
"The raw, hex-encoded, emergency.recover file"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"author": [
|
2025-12-17 11:30:56 -08:00
|
|
|
"Aditya [aditya.sharma20111@gmail.com](mailto:aditya.sharma20111@gmail.com) is mainly responsible."
|
2024-08-08 11:19:25 +05:30
|
|
|
],
|
|
|
|
|
"see_also": [
|
|
|
|
|
"lightning-getsharedsecret(7)"
|
|
|
|
|
],
|
|
|
|
|
"resources": [
|
2025-12-17 11:30:56 -08:00
|
|
|
"Main web site: [https://github.com/ElementsProject/lightning](https://github.com/ElementsProject/lightning)"
|
2024-08-08 11:19:25 +05:30
|
|
|
],
|
|
|
|
|
"examples": [
|
|
|
|
|
{
|
|
|
|
|
"request": {
|
|
|
|
|
"id": "example:getemergencyrecoverdata#1",
|
|
|
|
|
"method": "getemergencyrecoverdata",
|
|
|
|
|
"params": {}
|
|
|
|
|
},
|
2024-08-09 22:44:53 -07:00
|
|
|
"response": "emergencyrecoverdata0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101"
|
2024-08-08 11:19:25 +05:30
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|