EN

Where the money comes from

3 minDifficulty Checked 2026-11-10
Key takeaways
  • Depositors fund loans through a Single Asset Vault and hold shares in return.
  • Money out on loan is owed to the vault but cannot be withdrawn until repaid.
  • Lending transactions only work when SingleAssetVault is enabled too.

Depositors put one asset into a Single Asset Vault. It can be XRP, a trust-line token or a Multi-Purpose Token (MPT). In return they get vault shares, a token that records their slice of the vault.

The loan broker draws on the vault to fund loans. Money out on loan still counts as the vault's, as money owed back. When borrowers repay, it returns to the vault with interest. The broker's management fee comes out of that interest first.

If loans earn interest, each share can be redeemed for more than it cost. If loans go bad, shares are worth less. A vault earns nothing by itself. It holds money for whatever protocol is connected to it.

Today the vault owner and the broker must be the same account. The spec says this may change. One vault can back more than one broker, each with its own terms.

Money out on loan is not sitting in the vault. A depositor who wants to leave can only take what is there now. If most of the vault is lent out, a large withdrawal fails until borrowers repay.

The two features depend on each other. Lending needs vaults to exist. A vote for one without the other does not turn lending on.

Check yourself3 questions
1. Most of a vault's assets are out on loan. A depositor asks to withdraw more than what is left. What happens?
2. Which account can create a LoanBroker for a vault?
3. LendingProtocol is enabled but SingleAssetVault is not. Can loans be made?
Sources
Next lessonBrokers and first-loss capital3 min