Skip to main content

Ledgers

A ledger represents the state of the Stellar network at a point in time. It is shared across all Core nodes in the network and contains the list of accounts and balances, orders on the distributed exchange, smart contract data, and any other persisting data.

Other blockchains refer to this concept as a "block", and the entire blockchain as "the ledger".

In every Stellar Consensus Protocol round, the network reaches consensus on which transaction set to apply to the last closed ledger, and when the new set is applied, a new “last closed ledger” is defined. Each ledger is cryptographically linked to the unique previous ledger, creating a historical chain that goes back to the genesis ledger.

Data is stored on the ledger as ledger entries. Possible ledger entries include:

Every ledger has a ledger header, to read about what is contained in the ledger header, see our Ledger Header Encyclopedia Entry.