Term · Building on the ledger

ledger entry ID

In plain words

A ledger entry ID is the unique identifier of one entry in the XRP Ledger's data. It is made by hashing important contents of the entry. A hash is a fingerprint of data.

Written by zerps in plain words, from the source linked below.

In plain words

The state data of a ledger is made of entries, such as an AccountRoot, an Offer or a RippleState. Each ledger entry has a unique ID.

How it works

The ID is derived by hashing important contents of the entry together with a namespace identifier, which is a 16 bit value. The type of the entry decides which namespace identifier is used and which contents go into the hash. This makes sure every ID is unique. The hash function is SHA-512Half. Offer directories have special IDs, in which part of the hash is replaced with the exchange rate of the Offers in that directory.

Where you meet it

In JSON the ID is generally returned as the index field, at the same level as the entry's contents. In transaction metadata it is named LedgerIndex. It is not the same as a ledger index in the ledger_index field.

Source: xrpl.org, xrpl.org, xrpl.org. Read 6 December 2026.

Zerpedia states what the source says, in plain words, and gives no opinion. How Zerpedia is made

zerps Trading tokens on the XRP Ledger carries risk, including total loss. zerps is a self-custodial interface; it does not hold funds, give advice, or execute trades on your behalf.