Show / Hide Table of Contents

Class LoanSetResponse

The LoanSet transaction creates a new loan associated with a loan broker. Two parties sign it: the submitting Account and the counterparty, who co-signs via CounterpartySignature unless this transaction is part of a Batch. One of them is the LoanBroker's owner and the other is the borrower, in either role.

Inheritance
object
BaseTransactionResponse
TransactionResponse
LoanSetResponse
Implements
ITransactionResponse
IBaseTransactionResponse
ILoanSet
ITransactionCommon
Inherited Members
TransactionResponse.NetworkID
TransactionResponse.Account
TransactionResponse.AccountTxnID
TransactionResponse.Fee
TransactionResponse.LastLedgerSequence
TransactionResponse.Memos
TransactionResponse.MemoValue
TransactionResponse.Sequence
TransactionResponse.SigningPublicKey
TransactionResponse.Signers
TransactionResponse.TransactionType
TransactionResponse.TransactionTypeName
TransactionResponse.TransactionSignature
TransactionResponse.Meta
TransactionResponse.Sponsor
TransactionResponse.SponsorFlags
TransactionResponse.SponsorSignature
TransactionResponse.Delegate
TransactionResponse.OperationLimit
TransactionResponse.ToJson()
TransactionResponse.ToDictionary()
TransactionResponse.SourceTag
TransactionResponse.TicketSequence
BaseTransactionResponse.CloseTimeIso
BaseTransactionResponse.Ctid
BaseTransactionResponse.Date
BaseTransactionResponse.Hash
BaseTransactionResponse.InLedger
BaseTransactionResponse.LedgerIndex
BaseTransactionResponse.Validated
BaseTransactionResponse.UnknownFields
Namespace: Xrpl.Models.Transactions
Assembly: Xrpl.dll
Syntax
public class LoanSetResponse : TransactionResponse, ITransactionResponse, IBaseTransactionResponse, ILoanSet, ITransactionCommon
Remarks

Requires the Loan amendment (XLS-66d). This feature is in draft and subject to change.

Properties

| Edit this page View Source

CloseInterestRate

The rate charged for repaying the loan early, in 1/10th of a basis point: 100000 = 100%, 5000 = 5%. Valid range: 0–100000.

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

ClosePaymentFee

The fee charged for early loan closure (Number type).

Declaration
[JsonPropertyName("ClosePaymentFee")]
[JsonConverter(typeof(LenientXrplNumberConverter))]
public XrplNumber? ClosePaymentFee { get; set; }
Property Value
Type Description
Nullable
| Edit this page View Source

Counterparty

The counterparty: the account that co-signs via CounterpartySignature. Optional; when omitted the counterparty is the LoanBroker's owner. One of Account and the counterparty must be the broker owner, and the other one is the borrower - so this is the borrower when the broker owner submits, and the broker owner (or omitted) when the borrower submits. Required on a LoanSet inside a Batch.

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

CounterpartySignature

The counterparty's co-signature (sfCounterpartySignature) - SigningPubKey and TxnSignature, or Signers for a multisig counterparty. It is not part of what either party signs. Absent on a LoanSet inside a Batch, where the counterparty signs the batch through BatchSigners instead.

Declaration
[JsonPropertyName("CounterpartySignature")]
public SignatureObject CounterpartySignature { get; set; }
Property Value
Type Description
SignatureObject
Remarks

Produced by LoanSigningHelper and XrplWallet.SignAsLoanCounterparty.

| 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

Flags

LoanSet transaction flags.

Declaration
public LoanSetFlags? Flags { get; set; }
Property Value
Type Description
LoanSetFlags?
| Edit this page View Source

GracePeriod

The grace period before late fees apply, in seconds. Default: 60.

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

InterestRate

The annualized interest rate for the loan, in 1/10th of a basis point: 100000 = 100%, 5000 = 5%. Valid range: 0–100000.

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

LateInterestRate

The premium added to the interest rate for late payments, in 1/10th of a basis point: 100000 = 100%, 5000 = 5%. Valid range: 0–100000.

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

LatePaymentFee

The fee charged for late payments (Number type).

Declaration
[JsonPropertyName("LatePaymentFee")]
[JsonConverter(typeof(LenientXrplNumberConverter))]
public XrplNumber? LatePaymentFee { get; set; }
Property Value
Type Description
Nullable
| Edit this page View Source

LoanBrokerID

The ID of the loan broker managing this loan.

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

LoanOriginationFee

The origination fee for the loan (Number type).

Declaration
[JsonPropertyName("LoanOriginationFee")]
[JsonConverter(typeof(LenientXrplNumberConverter))]
public XrplNumber? LoanOriginationFee { get; set; }
Property Value
Type Description
Nullable
| Edit this page View Source

LoanServiceFee

The service fee for the loan (Number type).

Declaration
[JsonPropertyName("LoanServiceFee")]
[JsonConverter(typeof(LenientXrplNumberConverter))]
public XrplNumber? LoanServiceFee { get; set; }
Property Value
Type Description
Nullable
| Edit this page View Source

OverpaymentFee

The fee rate charged on overpayments, in 1/10th of a basis point: 100000 = 100%, 5000 = 5%. Valid range: 0–100000.

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

OverpaymentInterestRate

The interest rate charged on overpayments, in 1/10th of a basis point: 100000 = 100%, 5000 = 5%. Valid range: 0–100000.

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

PaymentInterval

The interval between payments, in seconds. Default: 60.

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

PaymentTotal

The total number of payments for the loan. Default: 1.

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

PrincipalRequested

The principal amount requested for the loan (Number type). Required.

Declaration
[JsonPropertyName("PrincipalRequested")]
[JsonConverter(typeof(LenientXrplNumberConverter))]
public XrplNumber? PrincipalRequested { get; set; }
Property Value
Type Description
Nullable

Implements

ITransactionResponse
IBaseTransactionResponse
ILoanSet
ITransactionCommon

Extension Methods

FeePayerExtensions.GetFeePayer(ITransactionCommon)
FeePayerExtensions.GetFeePayer(ITransactionCommon, ITransactionMetadata)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX