GET
Lightning - Get node state
This is only used for self-custody lightning. Get the current state of the lightning node.
Path Params
-
coinstring requiredA lightning coin name. -
walletIdstring requiredThe wallet ID.
Responses
200
OK
Response Body
object
-
statestring enumCurrent state of the nodeNON_EXISTINGLOCKEDUNLOCKEDRPC_ACTIVESERVER_ACTIVEWAITING_TO_START
400
Bad Request
Response Body
ONE OF
-
errorstring requiredHuman-readable error message -
requestIdstring requiredClient request id -
contextobjectProperties that apply to a specific error name -
namestring requiredError code
-
errorstring requiredHuman-readable error message -
requestIdstring requiredClient request id -
contextobject requiredcontext object
-
idstring
-
-
namestring enum requiredError codeInvalidWalletId