Class DexAccount
An account as the crossing reads it: its XRP, its reserve and, for an issuer, its settings.
Inheritance
Namespace: Xrpl.Amounts
Assembly: Xrpl.dll
Syntax
public sealed class DexAccount
Properties
| Edit this page View SourceAddress
The account's address.
Declaration
public string Address { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Balance
The account's XRP balance, in drops, before the transaction's fee.
Declaration
public ulong Balance { get; init; }
Property Value
| Type | Description |
|---|---|
| ulong |
DefaultRipple
Whether the account set lsfDefaultRipple: its new trust lines ripple, and NoRipple is its non-default setting.
Declaration
public bool DefaultRipple { get; init; }
Property Value
| Type | Description |
|---|---|
| bool |
DepositAuth
Whether the account accepts payments only from accounts it preauthorized (lsfDepositAuth).
Declaration
public bool DepositAuth { get; init; }
Property Value
| Type | Description |
|---|---|
| bool |
DepositPreauthorized
The accounts the account preauthorized to pay it (DepositPreauth).
Declaration
public IReadOnlyList<string> DepositPreauthorized { get; init; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<string> |
DepositPreauthorizedCredentials
The sets of credentials the account preauthorized: a payment that presents exactly one
of these sets in its CredentialIDs is let through.
Declaration
public IReadOnlyList<IReadOnlyList<DexCredentialType>> DepositPreauthorizedCredentials { get; init; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<IReadOnlyList<DexCredentialType>> |
DisallowIncomingTrustline
Whether the issuer refuses trust lines it did not ask for (lsfDisallowIncomingTrustline).
Declaration
public bool DisallowIncomingTrustline { get; init; }
Property Value
| Type | Description |
|---|---|
| bool |
GlobalFreeze
Whether the issuer has frozen every trust line it issues on (lsfGlobalFreeze).
Declaration
public bool GlobalFreeze { get; init; }
Property Value
| Type | Description |
|---|---|
| bool |
OwnerCount
The objects the account owns (OwnerCount).
Declaration
public uint OwnerCount { get; init; }
Property Value
| Type | Description |
|---|---|
| uint |
RequireAuth
Whether the account's issued currencies need its authorization to be held (lsfRequireAuth).
Declaration
public bool RequireAuth { get; init; }
Property Value
| Type | Description |
|---|---|
| bool |
RequireDestinationTag
Whether a payment to the account must carry a destination tag (lsfRequireDestTag).
Declaration
public bool RequireDestinationTag { get; init; }
Property Value
| Type | Description |
|---|---|
| bool |
Sequence
The account's next sequence number, which an OfferSequence must be below.
Declaration
public uint Sequence { get; init; }
Property Value
| Type | Description |
|---|---|
| uint |
TickSize
The issuer's TickSize; 0 for none.
Declaration
public byte TickSize { get; init; }
Property Value
| Type | Description |
|---|---|
| byte |
TransferRate
The issuer's TransferRate in billionths; 0 or 1,000,000,000 for none.
Declaration
public uint TransferRate { get; init; }
Property Value
| Type | Description |
|---|---|
| uint |