UNDER DEVELOPMENT - DRAFT
Skip to main content
ln.university
LN 100 Fundamentals Lesson 03 Lesson 3 of 7 · 5 min · no measured block
Lesson 03 Reading lesson revised

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.

Assumed before you start
After this lesson you can
  • 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
Anchor text · read alongside CC-BY-SA-4.0 · free online
Chapter 7 · anchor
Mastering the Lightning Network
Andreas M. Antonopoulos, Olaoluwa Osuntokun, René Pickhardt
"Payment Channels", the `open_channel` message. It shows that the opener funds the channel and what `push_msat` does, which is why a peer's channel to you starts on the peer's side.
Read the chapter →

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

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

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_satoshis field is the amount that the opener uses to fund the channel, and it is the total channel capacity. The push_msat field 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.

Adapted from Mastering the Lightning Network, ch. 7, Payment Channels · CC-BY-SA-4.0 · condensed, terminology aligned to this course

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

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 each way depends on

WayMoves or addsCapitalMain dependency
RebalanceMoves between your channelsYoursA route with room in the right direction
Swap outMoves to on-chainYoursA swap provider and the on-chain fee
Peer opens a channelAdds a channelThe peer’sThe peer’s choice
LeaseAdds a channelThe seller’sA 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.

Check yourself · 3 questions no score, no record
  1. 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?
  2. 02 A peer opens a 5 000 000 sat channel to you and pushes nothing. What can you do with the channel at once?
  3. 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?

Notes

  1. 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
  2. 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.