Class LoanBrokerSet
The LoanBrokerSet transaction creates or modifies a loan broker that manages lending pools. The submitting account must own the Vault specified by VaultID.
Inherited Members
Namespace: Xrpl.Models.Transactions
Assembly: Xrpl.dll
Syntax
public class LoanBrokerSet : TransactionRequest, ITransactionRequest, ILoanBrokerSet, ITransactionCommon
Remarks
Requires the Loan amendment (XLS-66d). This feature is in draft and subject to change.
Constructors
| Edit this page View SourceLoanBrokerSet()
Declaration
public LoanBrokerSet()
Properties
| Edit this page View SourceCoverRateLiquidation
The share of the minimum required first-loss capital moved to the vault to cover a loan default, in 1/10th of a basis point: 100000 = 100%, 5000 = 5%. Valid range: 0–100000.
Declaration
[JsonPropertyName("CoverRateLiquidation")]
public uint? CoverRateLiquidation { get; set; }
Property Value
| Type | Description |
|---|---|
| uint? |
CoverRateMinimum
The share of the broker's outstanding debt that first-loss capital must cover, in 1/10th of a basis point: 100000 = 100%, 5000 = 5%. Valid range: 0–100000.
Declaration
[JsonPropertyName("CoverRateMinimum")]
public uint? CoverRateMinimum { get; set; }
Property Value
| Type | Description |
|---|---|
| uint? |
Data
Arbitrary hex-encoded metadata, limited to 256 bytes.
Declaration
[JsonPropertyName("Data")]
public string Data { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DebtMaximum
The maximum amount the protocol can owe the Vault. Default 0 means no limit. Must not be negative. (Number type.)
Declaration
[JsonPropertyName("DebtMaximum")]
public XrplNumber? DebtMaximum { get; set; }
Property Value
| Type | Description |
|---|---|
| Nullable |
DomainID
(Optional) LendingProtocolV1_2: the permissioned domain a private loan broker is bound to. Only a broker created with tfLoanBrokerPrivate may carry one; on an existing private broker the zero hash removes it.
Declaration
[JsonPropertyName("DomainID")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string DomainID { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Flags
Typed view over the base Flags value (see LoanBrokerSetFlags).
Declaration
[JsonPropertyName("Flags")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public LoanBrokerSetFlags? Flags { get; set; }
Property Value
| Type | Description |
|---|---|
| LoanBrokerSetFlags? |
LoanBrokerID
The ID of an existing LoanBroker object to modify. Optional — omit when creating a new loan broker.
Declaration
[JsonPropertyName("LoanBrokerID")]
public string LoanBrokerID { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ManagementFeeRate
The management fee rate charged by the broker, in 1/10th of a basis point: 10000 = 10%, 500 = 0.5%. Valid range: 0–10000.
Declaration
[JsonPropertyName("ManagementFeeRate")]
public ushort? ManagementFeeRate { get; set; }
Property Value
| Type | Description |
|---|---|
| ushort? |
VaultID
The ID of the Vault ledger object that this loan broker is associated with. The account submitting this transaction must own the vault. Required when creating a new loan broker.
Declaration
[JsonPropertyName("VaultID")]
public string VaultID { get; set; }
Property Value
| Type | Description |
|---|---|
| string |