Express

GET

This is only used for self-custody lightning. Get the current state of the lightning node.

Path Params

  • coin string required
    A lightning coin name.
  • walletId string required
    The wallet ID.

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

Responses

200
OK

Response Body

object

  • state string enum
    Current state of the node
    NON_EXISTINGLOCKEDUNLOCKEDRPC_ACTIVESERVER_ACTIVEWAITING_TO_START
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