Show / Hide Table of Contents

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.

Inheritance
object
TransactionRequest
LoanBrokerSet
Implements
ITransactionRequest
ILoanBrokerSet
ITransactionCommon
Inherited Members
TransactionRequest.NetworkID
TransactionRequest.Account
TransactionRequest.AccountTxnID
TransactionRequest.Fee
TransactionRequest.LastLedgerSequence
TransactionRequest.Memos
TransactionRequest.Sequence
TransactionRequest.SigningPublicKey
TransactionRequest.Signers
TransactionRequest.TransactionType
TransactionRequest.TransactionTypeName
TransactionRequest.TransactionSignature
TransactionRequest.ToJson()
TransactionRequest.ToDictionary()
TransactionRequest.SourceTag
TransactionRequest.TicketSequence
TransactionRequest.Sponsor
TransactionRequest.SponsorFlags
TransactionRequest.SponsorSignature
TransactionRequest.Delegate
TransactionRequest.OperationLimit
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 Source

LoanBrokerSet()

Declaration
public LoanBrokerSet()

Properties

| Edit this page View Source

CoverRateLiquidation

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?
| Edit this page View Source

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?
| Edit this page View Source

Data

Arbitrary hex-encoded metadata, limited to 256 bytes.

Declaration
[JsonPropertyName("Data")]
public string Data { get; set; }
Property Value
Type Description
string
| Edit this page View Source

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
| Edit this page View Source

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
| Edit this page View Source

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?
| Edit this page View Source

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
| Edit this page View Source

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?
| Edit this page View Source

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

Implements

ITransactionRequest
ILoanBrokerSet
ITransactionCommon

Extension Methods

FeePayerExtensions.GetFeePayer(ITransactionCommon)
FeePayerExtensions.GetFeePayer(ITransactionCommon, ITransactionMetadata)
BatchUtils.ToBatchTx(ITransactionRequest)
Utilities.Encode(TransactionRequest)
Utilities.EncodeForMultiSigning(TransactionRequest, string)
Utilities.EncodeForSigning(TransactionRequest)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX