# DirectoryNode | xrpl
Documentation for xrpl

# Interface DirectoryNode

The DirectoryNode object type provides a list of links to other objects in the ledger's state tree.

#### Hierarchy

- BaseLedgerEntry
- MissingPreviousTxnID
  - DirectoryNode

- Defined in packages/xrpl/src/models/ledger/DirectoryNode.ts:9

#####
Index

### Properties

Flags
IndexNext?
IndexPrevious?
Indexes
LedgerEntryType
Owner?
PreviousTxnID
PreviousTxnLgrSeq
RootIndex
TakerGetsCurrency?
TakerGetsIssuer?
TakerPaysCurrency?
TakerPaysIssuer?
index

## Properties

### Flags

Flags: number

A bit-map of boolean flags enabled for this directory. Currently, the protocol defines no flags for DirectoryNode objects.

- Defined in packages/xrpl/src/models/ledger/DirectoryNode.ts:17

### `Optional` IndexNext

IndexNext?: number

If this Directory consists of multiple pages, this ID links to the next object in the chain, wrapping around at the end.

- Defined in packages/xrpl/src/models/ledger/DirectoryNode.ts:26

### `Optional` IndexPrevious

IndexPrevious?: number

If this Directory consists of multiple pages, this ID links to the previous object in the chain, wrapping around at the beginning.

- Defined in packages/xrpl/src/models/ledger/DirectoryNode.ts:31

### Indexes

Indexes: string[]

The contents of this Directory: an array of IDs of other objects.

- Defined in packages/xrpl/src/models/ledger/DirectoryNode.ts:21

### LedgerEntryType

LedgerEntryType: "DirectoryNode"

- Defined in packages/xrpl/src/models/ledger/DirectoryNode.ts:12

### `Optional` Owner

Owner?: string

The address of the account that owns the objects in this directory.

- Defined in packages/xrpl/src/models/ledger/DirectoryNode.ts:33

### PreviousTxnID

PreviousTxnID: never

This field is missing on this object but is present on most other returned objects.

Inherited from MissingPreviousTxnID.PreviousTxnID

- Defined in packages/xrpl/src/models/ledger/BaseLedgerEntry.ts:22

### PreviousTxnLgrSeq

PreviousTxnLgrSeq: never

This field is missing on this object but is present on most other returned objects.

Inherited from MissingPreviousTxnID.PreviousTxnLgrSeq

- Defined in packages/xrpl/src/models/ledger/BaseLedgerEntry.ts:26

### RootIndex

RootIndex: string

The ID of root object for this directory.

- Defined in packages/xrpl/src/models/ledger/DirectoryNode.ts:19

### `Optional` TakerGetsCurrency

TakerGetsCurrency?: string

The currency code of the TakerGets amount from the offers in this directory.

- Defined in packages/xrpl/src/models/ledger/DirectoryNode.ts:45

### `Optional` TakerGetsIssuer

TakerGetsIssuer?: string

The issuer of the TakerGets amount from the offers in this directory.

- Defined in packages/xrpl/src/models/ledger/DirectoryNode.ts:47

### `Optional` TakerPaysCurrency

TakerPaysCurrency?: string

The currency code of the TakerPays amount from the offers in this directory.

- Defined in packages/xrpl/src/models/ledger/DirectoryNode.ts:38

### `Optional` TakerPaysIssuer

TakerPaysIssuer?: string

The issuer of the TakerPays amount from the offers in this directory.

- Defined in packages/xrpl/src/models/ledger/DirectoryNode.ts:40

### index

index: string

Inherited from BaseLedgerEntry.index

- Defined in packages/xrpl/src/models/ledger/BaseLedgerEntry.ts:2

Generated using TypeDoc