LoanBrokerSet
LoanBrokerSet creates a loan broker or updates one. A loan broker lends out the funds of a vault, and only the owner of that vault can send this transaction.
- Section
- References
What it does
It creates or updates a LoanBroker ledger entry, sets its rules and ties it to a Vault. It needs the LendingProtocol amendment, a change to the ledger's rules that the source lists as open for voting.
What you fill in
VaultID is required: the ID of the vault the lending protocol uses to get its funds. To change an existing loan broker, add LoanBrokerID. Data holds free extra information in hex, up to 256 bytes. ManagementFeeRate is the fee the owner takes from loan interest, from 0 to 10000, meaning 0% to 10%. DebtMaximum is the most the protocol can owe the vault, and the default of 0 means no limit. CoverRateMinimum says how much of the total debt the first-loss capital must cover. CoverRateLiquidation says how much of the required minimum is moved to the vault to cover a loan default. Both run from 0 to 100000, meaning 0% to 100%.
What happens next
A new LoanBroker entry appears on the ledger, tied to the vault. The owner's account must hold enough to meet the reserve for the new entry.
Good to know
On an existing loan broker you can change only Flags, Data and DebtMaximum. You cannot lower DebtMaximum below the loan broker's current DebtTotal. CoverRateMinimum and CoverRateLiquidation must both be zero, or neither. Once the LendingProtocolV1_1 amendment is enabled, a new loan broker can only be attached to a closed-ended vault. A loan broker created before that can still make loans from open-ended vaults.
Create or update an existing loan broker.xrpl.org
Source: xrpl.org. Read 6 December 2026.
Zerpedia states what the source says, in plain words, and gives no opinion. How Zerpedia is made