Ripple page · Trading and DeFi

Updated Transactions (Ripple's open-source documentation)

In plain words

This page of Ripple's open-source documentation lists how the LendingProtocolV1_1 amendment updates transactions to support closed-ended vaults. It gives the new fields and the new error cases for each.

Written by zerps in plain words, from the source linked below.
Publisher
Ripple

VaultCreate

VaultCreate gains VaultKind, SubscriptionDate and RedemptionDate. A VaultKind of 1 makes a closed-ended vault, and then both dates are required. The dates cannot change later. Both must be in the future, and the gap between them must be at least 180 seconds and less than 946708560 seconds, which is 30 years. Bad values give temMALFORMED or tecEXPIRED, and temDISABLED appears if the amendment is not enabled.

VaultDelete

VaultDelete gains an optional MemoData field, up to 256 bytes, to record why the vault was deleted.

Deposits and withdrawals

VaultDeposit gives tecEXPIRED on a closed-ended vault in its Investment or Redemption phase. VaultWithdraw gives tecTOO_SOON during Investment.

Loans

A loan can only start on a closed-ended vault during its Investment phase, and its final scheduled payment must be at least 60 seconds before Redemption begins. LoanSet gives tecTOO_SOON during Subscription, tecEXPIRED in Redemption, and tecNO_PERMISSION if the last payment is too late. LoanBrokerSet gives tecNO_PERMISSION if the target vault is not closed-ended. This applies to loan brokers created after the amendment is enabled.

In the source's words
The LendingProtocolV1 1 amendment updates the following transactions to support closed-ended vaults. Field Name JSON Type Internal Type Required? Description --- --- --- --- --- VaultKind Number UInt8 No The kind of vault to create.opensource.ripple.com

Source: opensource.ripple.com. Read 6 December 2026.

Zerpedia states what the source says, in plain words, and gives no opinion. How Zerpedia is made

zerps Trading tokens on the XRP Ledger carries risk, including total loss. zerps is a self-custodial interface; it does not hold funds, give advice, or execute trades on your behalf.