Four ways to get inbound liquidity
Inbound liquidity is room on the far side of a channel. A node gets it in four ways: a rebalance (a payment you send yourself), a swap out (paying a provider over Lightning to receive on-chain bitcoin), a channel that a peer opens to you, and a lease (a channel rented from a seller). This lesson says what each one changes and needs. A later lesson in this course, "What a rebalance actually costs", starts the pricing.
- 02 Inbound and outbound, and why the asymmetry matters
- — What a payment fee is, in ppm
- Name the four ways to get inbound and say whose capital each one uses
- State what each way needs in order to work
- Say which of the four a node with a single channel can use
A node cannot add room on the far side of a channel from nothing. It either moves balance it already has across a channel, by a rebalance or a swap out, or it gets another party to put funds on the far side, by a peer’s channel or a lease. Each way uses a different party’s capital and fails in a different way, so the cheapest one on paper can be one you cannot use, for example because a swap provider may not take your amount or a peer may decline.
If you were going to spend the balance anyway, paying out of the channel creates inbound for nothing. Lightning Labs lists that as the first way to get inbound.1 The four ways below are for the case where you want inbound and have no payment to make.
Rebalancing: send a payment to yourself in a circle
A rebalance is a payment that leaves your node through one channel and returns through another. It spends outbound on the first channel, so inbound grows there, and it adds outbound on the second. Lightning Labs describes it as a payment to yourself, spending the local balance of channels with high balances into channels with lower ones, “done through a circular path”.1
- What it changes. It moves balance between your own channels. Your total stays the same, less the fees you pay.
- Whose capital. Yours.
- What you pay. Each node that forwards the payment charges the fee in its
channel_updatefor the outgoing channel:fee_base_msatplus the amount timesfee_proportional_millionths, divided by 1 000 000. BOLT 7 gives the formula. BOLT 7 fees are charged by forwarding nodes, so the first hop, which is you, adds none. - What it needs. At least two channels, and a route between them that has room in the right direction at every hop. If the route lacks room, the payment fails and pays no routing fee, because a failed HTLC is removed without changing any balance. Lessons 4 and 5 show how.
Swapping out: trade channel balance for on-chain bitcoin
A swap out sends a Lightning payment to a provider and receives the same value, less fees, as an on-chain output. A submarine swap links the two transactions so that both happen or neither does. In the Loop service, the provider first puts bitcoin into an on-chain HTLC. Once your Lightning payment succeeds, you sweep that output with the secret you learned from the payment. If the payment fails, the funds go back to the provider.1
- What it changes. It lowers your local balance on the channel that carried the payment and raises your remote balance by the same amount. The value is now an on-chain output that you hold.
- Whose capital. Yours. The output is yours to use again, for example to open a channel to a different peer.
- What you pay. The provider’s service fee, the routing fees on the Lightning leg, and the on-chain fee to sweep the output.
- What it needs. A provider that accepts your amount, the on-chain fee to sweep the output, and enough outbound on the channel you are swapping out of.
Asking a peer to open a channel to you
The opener funds a channel, and the amount it funds starts on its side.
The
funding_satoshisfield is the amount that the opener uses to fund the channel, and it is the total channel capacity. Thepush_msatfield is an optional amount that the opener hands to the other side at once. A value other than zero is a gift to the channel partner.
So when a peer opens a channel to you and pushes nothing, the full capacity starts as inbound for you, less the peer’s reserve and its commitment fee. Nothing in the protocol makes a peer do this. Lightning Labs notes that routing nodes may open channels to a node that signals a need for inbound, because the routing fees on payments to that node attract them.1
- What it changes. It adds a new channel with all balance on the peer’s side.
- Whose capital. The peer’s. Either node can send
shutdownto start closing a channel, so nothing in the protocol keeps the channel open for any term. - What you pay. Whatever you and the peer agree, which can be nothing. The protocol sets no price.
- What it needs. A peer that chooses to fund a channel to you, and a reason for it to do so.
Buying a channel lease
A lease is the same channel with a price and a term. The seller opens a channel to you with its own funds, and the term is meant to bind the seller’s funds until a maturity height. Lightning Labs’ documentation, read November 6, 2026, describes Pool, launched in November 2020, as a batched uniform clearing-price auction for channel leases. We did not check that it is active.1 The Pool overview says a Bitcoin contract keeps the seller from sweeping before the maturity height. The channel-leases page says the alpha version relied on lnd refusing a cooperative close by the seller and on a market ban for force closes. The two pages differ, so check which applies. BOLT 2 does not define leases.2
- What it changes. The same as a peer-opened channel: a new channel with the balance on the seller’s side.
- Whose capital. The seller’s, for the term of the lease.
- What you pay. A price set by the market. Lesson 4 of the LN 300 strand, what capital costs in bitcoin, gives the baseline to compare any lease price against.
- What it needs. A seller on a marketplace that you can reach, and a way to pay the lease price.
What each way depends on
| Way | Moves or adds | Capital | Main dependency |
|---|---|---|---|
| Rebalance | Moves between your channels | Yours | A route with room in the right direction |
| Swap out | Moves to on-chain | Yours | A swap provider and the on-chain fee |
| Peer opens a channel | Adds a channel | The peer’s | The peer’s choice |
| Lease | Adds a channel | The seller’s | A seller and a market price |
Compare the first two with the second two by one question: do you end up with more total capacity, or the same capacity with a different split? Moving your own balance leaves the total the same. Another party’s capital adds to it. The LN 300 strand starts with the price of a rebalance and with the baseline cost of capital, which is the yardstick for a lease.
- 01 You have one channel of 3 000 000 sats, all on your side, and no on-chain funds. Which of the four ways can you use, and which can you not?
You cannot rebalance, because a circular payment must leave through one channel and come back through another, and you have one. A swap out works if the swap provider will take your amount, and it moves balance to the remote side of that channel. A peer can open a channel to you, and a lease can bring one, if a seller offers it. The last two need no balance moved by you, though a lease costs a fee.
- 02 A peer opens a 5 000 000 sat channel to you and pushes nothing. What can you do with the channel at once?
You can receive, and you cannot send. All 5 000 000 sats sit on the peer's side, so your outbound is 0. Your inbound is the peer's balance minus the peer's reserve. With the 1% reserve that BOLT 2 suggests, that is about 4 950 000 sats, less whatever the commitment transaction fee takes from the peer's side. The peer can also start closing the channel, because BOLT 2 lets either node send `shutdown`.
- 03 A seller offers "5 000 000 sats of inbound for three months". What does the lease contract promise about the channel, and what does it leave open?
Per Lightning Labs' Pool overview, a Bitcoin contract fixes a maturity height before which the seller's funds cannot be swept. Its channel-leases page says the alpha version enforced the term by having lnd refuse a cooperative close and by banning a seller that force-closed, so the two pages differ and you should check which applies. The descriptions we read say nothing about routing through the channel, about payments to you succeeding, about the seller staying online, or about what happens after maturity.
Notes
- Lightning Labs' Builder's Guide, read on Nov. 6, 2026, carries these claims on three pages. The Managing Liquidity page (linked) covers the circular path and the signal for inbound capacity. Loop Out mechanics are on The Loop CLI. The auction and the maturity height are on the Pool overview, the November 2020 launch on the Pool page and the alpha-version enforcement on the Channel Leases page. The guide describes the services that Lightning Labs runs. Other providers of swaps and of channel leases exist, and this lesson did not survey them. We also did not check whether the Pool marketplace has sellers today.Lightning Labs, Managing Liquidity
- BOLT 2 defines no way to advertise or buy a lease. The text of BOLT 2, 3, 4, 5, 7, 8, 11 and 12 on the master branch, read on Nov. 6, 2026, contains no lease message and no liquidity advertisement. A lease is an arrangement between the buyer and the seller, and a contract on-chain enforces the term.BOLT 2
Source & license
This page adapts Mastering the Lightning Network by Andreas M. Antonopoulos, Olaoluwa Osuntokun, René Pickhardt, licensed CC BY-SA 4.0. Adapted passages are marked in the text with a hairline rule and a source line. Changes: condensed, terminology aligned to this course's glossary, and extended with options that the book does not cover, which are sourced in the notes.
This page is therefore also CC BY-SA 4.0. Copy it, translate it, teach from it, republish it under the same license, with attribution to the works above and to ln.university.