REST APIWallet & TransactLightning

GET

This is only used for self-custody lightning. Retrieve the channel backup for the given wallet.

Path Params

  • walletId string required
    The wallet ID.

    matches ^[0-9a-f]{32}$

Responses

200
OK

Response Body

object

  • chanPoints array of objects
    List of channel points
    chanPoints object
    • fundingTxid string
      Funding transaction ID
    • outputIndex integer
      Output index
  • multiChanBackup string
    Multi-channel backup
400
Bad Request

Response Body

ONE OF

  • error string required
    Human-readable error message
  • requestId string required
    Client request id
  • context object
    Properties that apply to a specific error name
  • name string required
    Error code