lightning-getemergencyrecoverdata -- Command to fetch data from the emergency.recover file
SYNOPSIS
getemergencyrecoverdata
DESCRIPTION
The getemergencyrecoverdata RPC command is used to fetch data from the emergency.recover file, which contains encrypted data.
RETURN VALUE
On success, an object is returned, containing:
- filedata (hex): The raw, hex-encoded, emergency.recover file
AUTHOR
Aditya <[email protected]> is mainly responsible.
SEE ALSO
lightning-getsharedsecret(7)
RESOURCES
Main web site: https://github.com/ElementsProject/lightning
EXAMPLES
Example 1:
Request:
lightning-cli getemergencyrecoverdata
{
"id": "example:getemergencyrecoverdata#1",
"method": "getemergencyrecoverdata",
"params": {}
}
Response:
{
"filedata": "5b3142fa0dd1115c29654b44780dcd9cf56cd53f9168061e964b39f3ce596962594b25660cba5d90ef07cfccbe1620f378ef284c7d1afed49d"
}