LIGHTNING-STATICBACKUP(7)

πŸ“¦
version 26.06.9 Β· 2 versions
, in nixpkgs unstable

πŸ’– LIGHTNING-STATICBACKUP(7) β€” NAME πŸ’–

okay so this is the manual page for staticbackup, and it's literally the command for deriving getting SCB of all the existing channels πŸ’…βœ¨


✨ SYNOPSIS ✨

staticbackup

πŸ¦‹ DESCRIPTION πŸ¦‹

the staticbackup RPC command returns an object with SCB of all the channels in an array 🫢 no cap, that's the whole vibe.

πŸŽ€ RETURN VALUE πŸŽ€

on success, an object is returned, containing:

  • scb β€” array of hexs 🧚
    • hex (optional) β€” SCB of a channel in TLV format πŸ’…

πŸ‘‘ AUTHOR πŸ‘‘

ngl, Aditya aditya.sharma20111@gmail.com is mainly responsible. πŸ‘‘

🌈 SEE ALSO 🌈

  • lightning-getsharedsecret(7) πŸ¦‹

🌸 RESOURCES 🌸

main web site: https://github.com/ElementsProject/lightning 🌈

πŸ“ EXAMPLES πŸ“

Example 1:

Request

$ lightning-cli staticbackup
{
  "id": "example:staticbackup#1",
  "method": "staticbackup",
  "params": {}
}

Response

{
  "scb": [
    "0000000000000001channelid0340000340000340000340000340000340000340000340000340000nodeid03030303030303030303030303030303030303030303030303030303030300017f000001034003400340034003400340034003400340034003400340034003400340034003400340034003400340034003400003401000",
    "0000000000000002channelid0340200340200340200340200340200340200340200340200340200nodeid03030303030303030303030303030303030303030303030303030303030300017f000001034203420342034203420342034203420342034203420342034203420342034203420342034203420342034203420003401000",
    "0000000000000003channelid0410000410000410000410000410000410000410000410000410000nodeid01010101010101010101010101010101010101010101010101010101010100017f000001041004100410041004100410041004100410041004100410041004100410041004100410041004100410041004100003401000",
    "0000000000000004channelid0120000120000120000120000120000120000120000120000120000nodeid01010101010101010101010101010101010101010101010101010101010100017f000001012001200120012001200120012001200120012001200120012001200120012001200120012001200120012001200003401000",
    "0000000000000005channelid1520015200152001520015200152001520015200152001520015200nodeid01010101010101010101010101010101010101010101010101010101010100017f000001015201520152015201520152015201520152015201520152015201520152015201520152015201520152015201520003401000",
    "0000000000000006channelid1240012400124001240012400124001240012400124001240012400nodeid02020202020202020202020202020202020202020202020202020202020200017f000001012401240124012401240124012401240124012401240124012401240124012401240124012401240124012401240003401000"
  ]
}

okay bestie, that's the whole page β€” signing off from Core Lightning v26.06.9, page LIGHTNING-STATICBACKUP(7) πŸ«ΆπŸ’–

πŸ“¦ where this page comes from