Class TrustLine
Trust line objects.
Inheritance
Namespace: Xrpl.Models.Methods
Assembly: Xrpl.dll
Syntax
public class TrustLine : object
Properties
| Improve this Doc View SourceAccount
The unique Address of the counterparty to this trust line.
Declaration
public string Account { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Balance
Representation of the numeric balance currently held against this line.
A positive balance means that the perspective account holds value;
a negative Balance means that the perspective account owes value.
Declaration
public string Balance { get; set; }
Property Value
Type | Description |
---|---|
System.String |
BalanceAsNumber
Representation of the numeric balance currently held against this line.
A positive balance means that the perspective account holds value;
a negative Balance means that the perspective account owes value.
Declaration
public decimal BalanceAsNumber { get; }
Property Value
Type | Description |
---|---|
System.Decimal |
Currency
A Currency Code identifying what currency this trust line can hold.
Declaration
public string Currency { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CurrencyValidName
Readable currency name
Declaration
public string CurrencyValidName { get; }
Property Value
Type | Description |
---|---|
System.String |
Freeze
If true, this account has frozen this trust line. The default is false.
Declaration
public bool? Freeze { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
FreezePeer
If true, the peer account has frozen this trust line.
The default is false.
Declaration
public bool? FreezePeer { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
Limit
The maximum amount of currency that the issuer account is willing to owe the perspective account.
Declaration
public string Limit { get; set; }
Property Value
Type | Description |
---|---|
System.String |
LimitAsNumber
The maximum amount of currency that the issuer account is willing to owe the perspective account.
Declaration
public decimal LimitAsNumber { get; }
Property Value
Type | Description |
---|---|
System.Decimal |
LimitPeer
The maximum amount of currency that the issuer account is willing to owe the perspective account.
Declaration
public string LimitPeer { get; set; }
Property Value
Type | Description |
---|---|
System.String |
LimitPeerAsNumber
Declaration
public decimal LimitPeerAsNumber { get; }
Property Value
Type | Description |
---|---|
System.Decimal |
NoRipple
If true, this account has enabled the No Ripple flag for this trust line.
If present and false, this account has disabled the No Ripple flag, but,
because the account also has the Default Ripple flag enabled, that is not considered the default state.
If omitted, the account has the No Ripple flag disabled for this trust line and Default Ripple disabled.
Declaration
public bool? NoRipple { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
NoRipplePeer
If true, the peer account has enabled the No Ripple flag for this trust line.
If present and false, this account has disabled the No Ripple flag, but,
because the account also has the Default Ripple flag enabled, that is not considered the default state.
If omitted, the account has the No Ripple flag disabled for this trust line and Default Ripple disabled.
Declaration
public bool? NoRipplePeer { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
QualityIn
Rate at which the account values incoming balances on this trust line, as a ratio of this value per 1 billion units.
(For example, a value of 500 million represents a 0.5:1 ratio.)
As a special case, 0 is treated as a 1:1 ratio.
Declaration
public uint QualityIn { get; set; }
Property Value
Type | Description |
---|---|
System.UInt32 |
QualityOut
Rate at which the account values outgoing balances on this trust line, as a ratio of this value per 1 billion units.
(For example, a value of 500 million represents a 0.5:1 ratio.)
As a special case, 0 is treated as a 1:1 ratio.
Declaration
public uint QualityOut { get; set; }
Property Value
Type | Description |
---|---|
System.UInt32 |