---
title: LND API Methods Overview
slug: lnd-api-methods-overview
docTags: 
createdAt: 2025-03-26T15:26:40.690Z
---

# Lightning Network API Methods

## Info Methods

### GetInfo

[https://lightning.engineering/api-docs/api/lnd/lightning/get-info/](https://lightning.engineering/api-docs/api/lnd/lightning/get-info/)

Retrieves general information about the node including identity pubkey, alias, network, and version.

### GetNetworkInfo

[https://lightning.engineering/api-docs/api/lnd/lightning/get-network-info/](https://lightning.engineering/api-docs/api/lnd/lightning/get-network-info/)

Provides network-wide data like total number of nodes, channels, and network capacity.

### ChannelBalance

[https://lightning.engineering/api-docs/api/lnd/lightning/channel-balance/](https://lightning.engineering/api-docs/api/lnd/lightning/channel-balance/)

Returns the sum of funds held in all open channels, distinguishing between local and remote balances.

### WalletBalance

[https://lightning.engineering/api-docs/api/lnd/lightning/wallet-balance/](https://lightning.engineering/api-docs/api/lnd/lightning/wallet-balance/)

Shows wallet balance details including confirmed, unconfirmed, and locked funds.

## Invoice Methods

### AddInvoice

[https://lightning.engineering/api-docs/api/lnd/lightning/add-invoice/](https://lightning.engineering/api-docs/api/lnd/lightning/add-invoice/)

Creates a new Lightning invoice with specified amount, memo, and optional parameters.

### CancelInvoice

[https://lightning.engineering/api-docs/api/lnd/invoices/cancel-invoice/](https://lightning.engineering/api-docs/api/lnd/invoices/cancel-invoice/)

Cancels an unpaid invoice to prevent it from being paid.

### LookupInvoiceV2

[https://lightning.engineering/api-docs/api/lnd/invoices/lookup-invoice-v2/](https://lightning.engineering/api-docs/api/lnd/invoices/lookup-invoice-v2/)

Retrieves detailed information about a specific invoice by payment hash.

### SubscribeSingleInvoice

[https://lightning.engineering/api-docs/api/lnd/invoices/subscribe-single-invoice/](https://lightning.engineering/api-docs/api/lnd/invoices/subscribe-single-invoice/)

Creates a real-time subscription for updates to a specific invoice.

### SubscribeInvoices

[https://lightning.engineering/api-docs/api/lnd/lightning/subscribe-invoices/](https://lightning.engineering/api-docs/api/lnd/lightning/subscribe-invoices/)

Establishes a streaming connection to receive updates for all invoices.

### ListInvoices

[https://lightning.engineering/api-docs/api/lnd/lightning/list-invoices/](https://lightning.engineering/api-docs/api/lnd/lightning/list-invoices/)

Returns a paginated list of all invoices, supporting filtering by payment status.

## Payment Methods

### DecodePayReq

[https://lightning.engineering/api-docs/api/lnd/lightning/decode-pay-req/](https://lightning.engineering/api-docs/api/lnd/lightning/decode-pay-req/)

Parses and decodes a BOLT11 payment request, showing destination, amount, and other encoded information.

### DeleteAllPayments

[https://lightning.engineering/api-docs/api/lnd/lightning/delete-all-payments/](https://lightning.engineering/api-docs/api/lnd/lightning/delete-all-payments/)

Removes all payment records from the database, primarily used for testing or resetting state.

### DeletePayment

[https://lightning.engineering/api-docs/api/lnd/lightning/delete-payment/](https://lightning.engineering/api-docs/api/lnd/lightning/delete-payment/)

Deletes a specific payment record from the database.

### ListPayments

[https://lightning.engineering/api-docs/api/lnd/lightning/list-payments/](https://lightning.engineering/api-docs/api/lnd/lightning/list-payments/)

Returns a paginated list of all outgoing payments with detailed status information.

### TrackPaymentV2

[https://lightning.engineering/api-docs/api/lnd/router/track-payment-v2/](https://lightning.engineering/api-docs/api/lnd/router/track-payment-v2/)

Provides real-time tracking of a specific payment attempt.

### TrackPayments

[https://lightning.engineering/api-docs/api/lnd/router/track-payments/](https://lightning.engineering/api-docs/api/lnd/router/track-payments/)

Establishes a subscription to track the status of all payments.

### SendPaymentV2

[https://lightning.engineering/api-docs/api/lnd/router/send-payment-v2/](https://lightning.engineering/api-docs/api/lnd/router/send-payment-v2/)

Sends a payment through the Lightning Network with advanced routing options.

# Advanced Methods

## Channel Management

### ChannelAcceptor

[https://lightning.engineering/api-docs/api/lnd/lightning/channel-acceptor/](https://lightning.engineering/api-docs/api/lnd/lightning/channel-acceptor/)

Creates a bidirectional stream to accept or reject incoming channel open requests based on custom criteria.

### CloseChannel

[https://lightning.engineering/api-docs/api/lnd/lightning/close-channel/](https://lightning.engineering/api-docs/api/lnd/lightning/close-channel/)

Initiates a cooperative or force close of an existing channel with a specified channel point.

### ClosedChannels

[https://lightning.engineering/api-docs/api/lnd/lightning/closed-channels/](https://lightning.engineering/api-docs/api/lnd/lightning/closed-channels/)

Returns a list of all channels that have been closed, with details about the close type and transaction.

### GetChanInfo

[https://lightning.engineering/api-docs/api/lnd/lightning/get-chan-info/](https://lightning.engineering/api-docs/api/lnd/lightning/get-chan-info/)

Retrieves detailed information about a specific channel using its channel ID.

### ListChannels

[https://lightning.engineering/api-docs/api/lnd/lightning/list-channels/](https://lightning.engineering/api-docs/api/lnd/lightning/list-channels/)

Returns a list of all open channels with detailed information about capacity, balances, and state.

### OpenChannelSync

[https://lightning.engineering/api-docs/api/lnd/lightning/open-channel-sync/](https://lightning.engineering/api-docs/api/lnd/lightning/open-channel-sync/)

Opens a new channel to a peer synchronously, blocking until the funding transaction is confirmed.

### OpenChannel

[https://lightning.engineering/api-docs/api/lnd/lightning/open-channel/](https://lightning.engineering/api-docs/api/lnd/lightning/open-channel/)

Opens a new channel to a peer asynchronously, returning a stream of updates as the channel progresses.

### PendingChannels

[https://lightning.engineering/api-docs/api/lnd/lightning/pending-channels/](https://lightning.engineering/api-docs/api/lnd/lightning/pending-channels/)

Lists all channels that are pending open, closing, or in other intermediate states.

### SubscribeChannelEvents

[https://lightning.engineering/api-docs/api/lnd/lightning/subscribe-channel-events/](https://lightning.engineering/api-docs/api/lnd/lightning/subscribe-channel-events/)

Establishes a subscription to receive updates about channel lifecycle events.

## On-Chain Methods

### EstimateFee

[https://lightning.engineering/api-docs/api/lnd/lightning/estimate-fee/](https://lightning.engineering/api-docs/api/lnd/lightning/estimate-fee/)

Estimates the fee rate needed for a transaction to be confirmed within a target number of blocks.

### GetTransactions

[https://lightning.engineering/api-docs/api/lnd/lightning/get-transactions/](https://lightning.engineering/api-docs/api/lnd/lightning/get-transactions/)

Retrieves a list of on-chain transactions that affect the wallet.

### NewAddress

[https://lightning.engineering/api-docs/api/lnd/lightning/new-address/](https://lightning.engineering/api-docs/api/lnd/lightning/new-address/)

Generates a new address for receiving on-chain Bitcoin payments.

### ListUnspent

[https://lightning.engineering/api-docs/api/lnd/wallet-kit/list-unspent/](https://lightning.engineering/api-docs/api/lnd/wallet-kit/list-unspent/)

Returns a list of all unspent transaction outputs (UTXOs) controlled by the wallet.

### ListAddresses

[https://lightning.engineering/api-docs/api/lnd/wallet-kit/list-addresses/](https://lightning.engineering/api-docs/api/lnd/wallet-kit/list-addresses/)

Returns a list of all addresses that have been generated by the wallet.

### SendCoins

[https://lightning.engineering/api-docs/api/lnd/lightning/send-coins/](https://lightning.engineering/api-docs/api/lnd/lightning/send-coins/)

Sends Bitcoin to a specified address, creating and broadcasting an on-chain transaction.

### SendMany

[https://lightning.engineering/api-docs/api/lnd/lightning/send-many/](https://lightning.engineering/api-docs/api/lnd/lightning/send-many/)

Creates and broadcasts a transaction that sends to multiple addresses in a single operation.

### SubscribeTransactions

[https://lightning.engineering/api-docs/api/lnd/lightning/subscribe-transactions/](https://lightning.engineering/api-docs/api/lnd/lightning/subscribe-transactions/)

Establishes a subscription to receive notifications about new on-chain transactions.

## Peer Methods

### ConnectPeer

[https://lightning.engineering/api-docs/api/lnd/lightning/connect-peer/](https://lightning.engineering/api-docs/api/lnd/lightning/connect-peer/)

Establishes a connection to a remote peer using their public key and network address.

### DisconnectPeer

[https://lightning.engineering/api-docs/api/lnd/lightning/disconnect-peer/](https://lightning.engineering/api-docs/api/lnd/lightning/disconnect-peer/)

Disconnects from a connected peer, closing all channels if the force flag is set.

### ListPeers

[https://lightning.engineering/api-docs/api/lnd/lightning/list-peers/](https://lightning.engineering/api-docs/api/lnd/lightning/list-peers/)

Returns a list of all connected peers with details about their connection and channels.

### SubscribePeerEvents

[https://lightning.engineering/api-docs/api/lnd/lightning/subscribe-peer-events/](https://lightning.engineering/api-docs/api/lnd/lightning/subscribe-peer-events/)

Creates a subscription to receive updates about peer connection and disconnection events.

## Routing Methods

### BuildRoute

[https://lightning.engineering/api-docs/api/lnd/router/build-route/](https://lightning.engineering/api-docs/api/lnd/router/build-route/)

Manually constructs a route through the Lightning Network for payment delivery.

### EstimateRouteFee

[https://lightning.engineering/api-docs/api/lnd/router/estimate-route-fee/](https://lightning.engineering/api-docs/api/lnd/router/estimate-route-fee/)

Estimates the fee required to send a specific amount of satoshis to a destination node.

### SendToRouteV2

[https://lightning.engineering/api-docs/api/lnd/router/send-to-route-v2/](https://lightning.engineering/api-docs/api/lnd/router/send-to-route-v2/)

Sends a payment using a pre-defined route, bypassing the built-in pathfinding.

### QueryRoutes

[https://lightning.engineering/api-docs/api/lnd/lightning/query-routes/](https://lightning.engineering/api-docs/api/lnd/lightning/query-routes/)

Finds potential routes through the network for sending a payment to a destination.

### DescribeGraph

[https://lightning.engineering/api-docs/api/lnd/lightning/describe-graph/](https://lightning.engineering/api-docs/api/lnd/lightning/describe-graph/)

Returns a complete view of the network graph as known by the node.

## HODL Invoices

### AddHodlInvoice

[https://lightning.engineering/api-docs/api/lnd/invoices/add-hold-invoice/](https://lightning.engineering/api-docs/api/lnd/invoices/add-hold-invoice/)

Creates a hold invoice (also known as HODL invoice) that allows accepting payment without immediately settling it.

### SettleInvoice

[https://lightning.engineering/api-docs/api/lnd/invoices/settle-invoice/](https://lightning.engineering/api-docs/api/lnd/invoices/settle-invoice/)

Settles a previously created hold invoice by revealing the preimage.
