Lightning Labs Lightning API
The Lightning API from Lightning Labs — 64 operation(s) for lightning.
Operations 71
GET
/v1/aliases/list
lncli: `listaliases` ListAliases returns the set of all aliases that have ever…
#
GET
/v1/balance/blockchain
lncli: `walletbalance` WalletBalance returns total unspent outputs(confirmed…
#
GET
/v1/balance/channels
lncli: `channelbalance` ChannelBalance returns a report on the total funds…
#
DELETE
/v1/channels/abandon/{channel_point.funding_txid_str}/{channel_point.output_index}
lncli: `abandonchannel` AbandonChannel removes all channel state from the…
#
POST
/v1/channels/acceptor
ChannelAcceptor dispatches a bi-directional streaming RPC in which OpenChannel…
#
POST
/v1/channels/backup/restore
lncli: `restorechanbackup` RestoreChannelBackups accepts a set of singular…
#
GET
/v1/channels/backup/subscribe
SubscribeChannelBackups allows a client to sub-subscribe to the most up to date…
#
POST
/v1/channels/backup/verify
lncli: `verifychanbackup` VerifyChanBackup allows a caller to verify the…
#
GET
/v1/channels/backup/{chan_point.funding_txid_str}/{chan_point.output_index}
lncli: `exportchanbackup` ExportChannelBackup attempts to return an encrypted…
#
GET
/v1/channels/closed
lncli: `closedchannels` ClosedChannels returns a description of all the closed…
#
GET
/v1/channels/pending
lncli: `pendingchannels` PendingChannels returns a list of all the channels…
#
POST
/v1/channels/stream
lncli: `openchannel` OpenChannel attempts to open a singly funded channel…
#
GET
/v1/channels/subscribe
SubscribeChannelEvents creates a uni-directional stream from the server to the…
#
POST
/v1/channels/transaction-stream
lncli: `sendpayment` Deprecated, use routerrpc.SendPaymentV2.
#
DELETE
/v1/channels/{channel_point.funding_txid_str}/{channel_point.output_index}
lncli: `closechannel` CloseChannel attempts to close an active channel…
#
POST
/v1/chanpolicy
lncli: `updatechanpolicy` UpdateChannelPolicy allows the caller to update the…
#
GET
/v1/custommessage/subscribe
lncli: `subscribecustom` SubscribeCustomMessages subscribes to a stream of…
#
POST
/v1/funding/step
FundingStateStep is an advanced funding related call that allows the caller to…
#
GET
/v1/getrecoveryinfo
* lncli: `getrecoveryinfo` GetRecoveryInfo returns information concerning the…
#
GET
/v1/graph/edge/{chan_id}
lncli: `getchaninfo` GetChanInfo returns the latest authenticated network…
#
GET
/v1/graph/info
lncli: `getnetworkinfo` GetNetworkInfo returns some basic stats about the known…
#
GET
/v1/graph/node/{pub_key}
lncli: `getnodeinfo` GetNodeInfo returns the latest advertised, aggregated, and…
#
GET
/v1/graph/nodemetrics
lncli: `getnodemetrics` GetNodeMetrics returns node metrics calculated from the…
#
GET
/v1/graph/routes/{pub_key}/{amt}
lncli: `queryroutes` QueryRoutes attempts to query the daemon's Channel Router…
#
POST
/v1/graph/routes/{pub_key}/{amt}
lncli: `queryroutes` QueryRoutes attempts to query the daemon's Channel Router…
#
GET
/v1/htlc-resolution/{chan_id}/{htlc_index}
LookupHtlcResolution retrieves a final htlc resolution from the database.
#
GET
/v1/invoice/{r_hash_str}
lncli: `lookupinvoice` LookupInvoice attempts to look up an invoice according…
#
DELETE
/v1/invoices
lncli: `deletecanceledinvoice` DeleteCanceledInvoice removes a canceled invoice…
#
GET
/v1/invoices/subscribe
SubscribeInvoices returns a uni-directional stream (server -> client) for…
#
POST
/v1/macaroon/checkpermissions
CheckMacaroonPermissions checks whether the provided macaroon contains all the…
#
GET
/v1/macaroon/ids
lncli: `listmacaroonids` ListMacaroonIDs returns all root key IDs that are in…
#
GET
/v1/macaroon/permissions
lncli: `listpermissions` ListPermissions lists all RPC method URIs and their…
#
DELETE
/v1/macaroon/{root_key_id}
lncli: `deletemacaroonid` DeleteMacaroonID deletes the specified macaroon ID…
#
GET
/v1/newaddress
lncli: `newaddress` NewAddress creates a new address under control of the local…
#
GET
/v1/onionmessage/subscribe
lncli: `subscribeonion` SubscribeOnionMessages subscribes to a stream of…
#
DELETE
/v1/payments
lncli: `deletepayments --all` DeleteAllPayments deletes all outgoing payments…
#
GET
/v1/payreq/{pay_req}
lncli: `decodepayreq` DecodePayReq takes an encoded payment request string and…
#
GET
/v1/peers/subscribe
SubscribePeerEvents creates a uni-directional stream from the server to the…
#
DELETE
/v1/peers/{pub_key}
lncli: `disconnect` DisconnectPeer attempts to disconnect one peer from another…
#
POST
/v1/signmessage
lncli: `signmessage` SignMessage signs a message with this node's private key.
#
GET
/v1/transactions
lncli: `listchaintxns` GetTransactions returns a list describing all the known…
#
POST
/v1/transactions
lncli: `sendcoins` SendCoins executes a request to send coins to a particular…
#
GET
/v1/transactions/fee
lncli: `estimatefee` EstimateFee asks the chain backend to estimate the fee…
#
POST
/v1/transactions/many
lncli: `sendmany` SendMany handles a request for a transaction that creates…
#
GET
/v1/transactions/subscribe
SubscribeTransactions creates a uni-directional stream from the server to the…
#
POST
/v1/verifymessage
lncli: `verifymessage` VerifyMessage verifies a signature over a message and…
#