• Public
  • Public/Protected
  • All

Interface AccountRoot

The AccountRoot object type describes a single account, its settings, and XRP balance.


  • default
    • AccountRoot



Account: string

The identifying (classic) address of this account.

AccountTxnID?: string

The identifying hash of the transaction most recently sent by this account. This field must be enabled to use the AccountTxnID transaction field. To enable it, send an AccountSet transaction with the. asfAccountTxnID flag enabled.

Balance: string

The account's current XRP balance in drops, represented as a string.

Domain?: string

A domain associated with this account. In JSON, this is the hexadecimal for the ASCII representation of the domain.

EmailHash?: string

The md5 hash of an email address.

Flags: number

A bit-map of boolean flags enabled for this account.

LedgerEntryType: "AccountRoot"
MessageKey?: string

A public key that may be used to send encrypted messages to this account in JSON, uses hexadecimal.

OwnerCount: number

The number of objects this account owns in the ledger, which contributes to its owner reserve.

PreviousTxnID: string

The identifying hash of the transaction that most recently modified this object.

PreviousTxnLgrSeq: number

The index of the ledger that contains the transaction that most recently modified this object.

RegularKey?: string

The address of a key pair that can be used to sign transactions for this account instead of the master key. Use a SetRegularKey transaction to change this value.

Sequence: number

The sequence number of the next valid transaction for this account.

TickSize?: number

How many significant digits to use for exchange rates of Offers involving currencies issued by this address. Valid values are 3 to 15, inclusive.

TicketCount?: number

How many Tickets this account owns in the ledger. This is updated automatically to ensure that the account stays within the hard limit of 250. Tickets at a time.

TransferRate?: number

A transfer fee to charge other users for sending currency issued by this account to each other.

index: string

Generated using TypeDoc