GetInfo returns general information concerning the lightning node including its identity pubkey, alias, the chains it is connected to, and information concerning the number of open+pending channels.
PendingChannels returns a list of all the channels that are currently considered “pending”. A channel is pending if it has finished the funding workflow and is waiting for confirmations for the funding txn, or is in the process of closure, either initiated cooperatively or non-cooperatively.
ListChannels returns a description of all the open channels that this node is a participant in.
DecodePayReq takes an encoded payment request string and attempts to decode it, returning a full description of the conditions encoded within the payment request.
GetNodeInfo returns the latest advertised, aggregated, and authenticated channel information for the specified node identified by its public key.
GetNetworkInfo returns some basic stats about the known channel graph from the point of view of the node.
AddInvoice attempts to add a new invoice to the invoice database. Any duplicated invoices are rejected, therefore all invoices must have a unique payment preimage.
LookupInvoice attempts to look up an invoice according to its payment hash. The passed payment hash must be exactly 32 bytes, if not, an error is returned.
QueryRoutes attempts to query the daemon’s Channel Router for a possible route to a target destination capable of carrying a specific amount of satoshis. The retuned route contains the full details required to craft and send an HTLC, also including the necessary information that should be present within the Sphinx packet encapsulated within the HTLC.