# What Is an On-Chain Order Book, and Where Does It Actually Sit?

Updated: 24 September 2026 | Documents read 18 September 2026 | Scale used across the site 0 to 12, one decimal | Chain Sheet editors

## Definition

What is an on-chain order book? It is a list of resting buy and sell orders whose matching a
blockchain can account for, either because the chain itself holds the orders and matches them
inside consensus, or because an operator matches them and commits the result to a chain that anyone
can read and verify.

## Findings

1. Three designs answer to the word DEX and only one of them has a book — a pool priced by a formula, a pool priced by an oracle, and a book of resting orders that traders cross.
2. A book can sit in three places and the chain records something different in each: every order at one end, only the settled result in the middle, and at the other end a book that never reaches a block.
3. Matching on a chain and settling on a chain are separate claims: Hyperliquid and Aster make both, while Lighter, edgeX, ApeX Omni, Paradex, Extended and Aevo make only the second.
4. Of the ten order-book venues scored on this sheet, three describe a withdrawal that works without the operator and seven describe none, which is the property to look for before the day it matters.

## Three different things go by the name DEX

The word covers three designs that share self-custody and almost nothing else, and only one of
them has a book at all.

**A pool priced by a formula.** An automated market maker holds two assets in a pool and derives
the exchange rate from the ratio between them. Nothing rests at a price and nobody is quoting;
the pool is the counterparty to every trade, and size is paid for by walking the price along the
formula. Uniswap is the design most people mean by DEX.

**A pool priced by an oracle.** Here the price comes from outside. GMX quotes the oracle index
price and routes every order against its own liquidity pools rather than against a book or a
market maker [8]. gTrade settles trader profit and loss against shared vaults and states outright
that it matches no buy and sell orders [9]. Jupiter Perps and Ostium work the same way. The cost
of size is a price-impact charge the pool's own rules set: GMX takes 0.04% of position size to
open or close when a trade narrows the gap between longs and shorts and 0.06% when it widens it,
with funding and a borrowing fee on top (GMX documentation, read 18 September 2026).

**A book of resting orders.** Buy and sell orders wait at named prices until another trader
crosses them. There is no formula and no pool, the counterparty is a person or a market-making
firm, and the cost of size is the spread and then whatever depth stands behind it. Only this
third design has anything a chain could hold.

| | Priced by a formula | Priced by an oracle | Book of resting orders |
|---|---|---|---|
| Who takes the other side | The pool | The pool or its vault | Another trader |
| What sets the price | The ratio of the reserves | An outside price feed | The highest bid and the lowest offer |
| What size costs | Movement along the formula | A price-impact charge set by the pool | The spread, then the depth behind it |
| On this sheet | Not tracked | GMX, gTrade, Jupiter Perps, Ostium | The ten venues scored here |

Only the third column is scored here: the depth criterion measures resting orders the other two
do not have. Pool-priced venues stay on the [venue list](/decentralized-exchange-list) with
their facts and no score.

## What is an on-chain order book, and what is merely settled on-chain

Two claims hide inside the phrase, and a venue can be scrupulous about one while saying nothing
about the other.

The first claim is about **matching**: where the orders rest, who can see them, and what pairs
them. The second is about **settlement**: where the result of that pairing is written down, and
who can read it afterwards. Hyperliquid makes both at once — its documentation
describes every order, cancel, trade and liquidation happening on the chain, with finality
inside a single block [1]. Paradex makes only the second: the book is held in the
operator's own cloud and seen by the operator alone, while the trades that come out of it settle
on an appchain that posts proven state differences to Ethereum [6].

Both are called decentralized exchanges, both are self-custodial, and either interface looks the
same to a trader. The distinction decides who can be asked for a copy of the book, who can
reorder it, and whether anything can be done without the party that runs it.

## The three places a book can live

**Inside the chain's own consensus.** The book is part of the state the validators agree on, so
placing an order, cancelling it, filling it and being liquidated are each transactions. That is
how Hyperliquid describes its own books [1]. Aster took the same
route with a chain of its own launched on 16 March 2026, though in its first phase the core chain
code is closed, outside validators are not supported, and the bridge deposits arrive through is
signed by the operator's own validators [7].

**In an operator's sequencer, with proofs or batches posted on-chain.** The orders never become
transactions; the result does. Lighter runs a sequencer that orders transactions
first in, first out and gives soft finality before a batch is proven and verified on Ethereum,
where the deposits sit [3]. edgeX matches in its own engine and settles balances
and trades on its own rollup [4]. ApeX Omni hands matched transactions to the
zkLink validator, which executes them on a rollup and proves them to the contracts holding the
money [5]. Extended validates and settles every transaction on Starknet,
Aevo posts its batches to Ethereum hourly, and Paradex posts proven
state differences from its appchain [6].

**In validators' memory.** dYdX is the odd one out. Orders sit in each validator's
in-memory book, which its own architecture page calls off-chain and not committed to consensus,
and only the matches reach a block [2]. The book is decentralised without being on-chain: it
exists in as many copies as there are validators, and not one of those copies is a chain record.

| Where the book sits | What reaches the chain | Venues on this sheet | A way out without the operator |
|---|---|---|---|
| Inside the chain's consensus | Every order, cancel, fill and liquidation | Hyperliquid, Aster | Documented at neither |
| An operator's sequencer, proven or batched | The result of matching, as proofs or batches | Lighter, edgeX, ApeX Omni, Extended, Aevo, Paradex | Documented at three of the six |
| Validators' in-memory books | The matches, once they are in a block | dYdX | Not documented |

Documents read 18 September 2026 in each venue's own architecture and custody pages. An empty
answer in the last column means we did not find the procedure, which is not a denial.

## The day the operator stops answering

Every design above works while everything works. They part company on the day the party running
the venue goes quiet.

A book inside consensus has no operator to lose, but it has a chain that can stop. When the
validators keep producing blocks, trading and withdrawing carry on without anyone's permission;
when they do not, nothing moves at all. dYdX lived through that on 10 October 2025,
when its chain halted and stale prices afterwards produced $462,097.79 of trader losses.

A book in a sequencer has a single party ordering everything, and the answer to that is a written
escape hatch: a procedure the deposit contract itself honours, started by a request sent from the
trader's own address rather than through the venue's interface. Three venues here publish one.
Lighter takes exit instructions on the chain and binds its sequencer to a deadline,
with a desert mode behind it that releases balances against proofs if the deadline passes [3].
edgeX tells a trader to deal with the chain directly, verify the balance and
withdraw with the operator out of the way [4]. ApeX Omni points at the zkLink
contracts its trades are proven to and documents a forced withdrawal through them [5].

Seven of the ten do not. We searched the published documentation of Hyperliquid,
Aster, Extended, Aevo, dYdX and
Paradex on 18 September 2026 and found no such procedure at any of them.
Paradex is the one that writes down the opposite: a published lockdown under which
the operator can halt deposits and cap withdrawals [6].

An absent escape hatch is not evidence of bad faith and it is rarely concealed; it is simply not
mentioned. It decides what a trader can do on the worst day, so it has to be looked for on
purpose, in the custody pages rather than the front page.

## A book on a chain is not a book with anything in it

Where the book sits decides who can stop you. It says nothing about whether there is anything to
trade against — the one part a reader can check without trusting the documentation.

In one sweep — from 20 September 2026 into 21 September 2026, a reading every ten minutes — we read the public BTC perpetual
book of every scored venue.
edgeX held a median $29.1 million of orders resting within 10 basis points
of mid, Lighter $16.5 million, Hyperliquid
$8.7 million, dYdX $829,432 and Paradex
$32,552 — a range of nearly three orders of magnitude across venues that all
describe themselves as on-chain. A $100,000 market order would have crossed
0.02 bps of mid at the top of that list and 137.18 bps
at the foot of it.

Reported size does not settle it either. Hyperliquid reported
$8.7 billion of open interest to CoinMarketCap on 22 September 2026 against
$635.5 million at edgeX [11], and edgeX held the deeper BTC book
in our snapshots. Open interest is a figure a venue reports about itself; resting depth is a
reading taken from the book it publishes. The
[depth sheet](/top-decentralized-exchanges) carries every reading with its snapshot count.

## Where this sits on the rest of the sheet

The [ranking on all five criteria](/best-decentralized-exchange) weighs settlement and custody
against measured depth, taker cost, the audit record and market coverage. The
[settlement sheet](/best-dex-for-on-chain-settlement) drops the other four and arranges the same
venues by what reaches the chain and how money leaves. [How we rate](/how-we-score) holds the
weights and the rubric, fixed on 22 September 2026 before a venue was scored.

EVEDEX belongs in the middle row of the table above, a hybrid with matching in the venue's own
engine off-chain and settlement on Arbitrum. Its documentation has the chain taking a position
snapshot at intervals in place of a record of each separate fill, and on 18 September 2026
we found no forced-withdrawal procedure set out in it [10].

## Quoted from the sources

> "HyperCore includes fully onchain perpetual futures and spot order books. Every order, cancel, trade, and liquidation happens transparently with one-block finality inherited from HyperBFT." — Hyperliquid documentation, About Hyperliquid, 18 September 2026. https://hyperliquid.gitbook.io/hyperliquid-docs/about-hyperliquid.md
> "Validators are responsible for storing orders in an in-memory orderbook (i.e. off chain and not committed to consensus), gossipping transactions to other validators, and producing new blocks for dYdX Chain through the consensus process." — dYdX documentation, architecture overview, 18 September 2026. https://docs.dydx.xyz/concepts/architecture/overview
> "A Sequencer coordinates first-in–first-out transaction ordering and provides soft finality, executing exchange operations and generating data consumed by other system components." — Lighter documentation, technical architecture, 18 September 2026. https://docs.lighter.xyz/about-lighter/technical-architecture-lighter-core.md
## Sources

1. Hyperliquid, about Hyperliquid. https://hyperliquid.gitbook.io/hyperliquid-docs/about-hyperliquid.md (18 September 2026)
2. dYdX, architecture overview. https://docs.dydx.xyz/concepts/architecture/overview (18 September 2026)
3. Lighter, technical architecture. https://docs.lighter.xyz/about-lighter/technical-architecture-lighter-core.md (18 September 2026)
4. edgeX, self-custody. https://edgex-1.gitbook.io/edgeX-documentation/edgex-v2/self-custody (18 September 2026)
5. zkLink X, transaction flow, the settlement layer ApeX Omni uses. https://docs.zk.link/architecture/transactionflow (18 September 2026)
6. Paradex, privacy and the security lockdown. https://docs.paradex.trade/chain/security/security-lockdown (18 September 2026)
7. Aster, what is Aster. https://docs.asterdex.com/overview/what-is-aster.md (18 September 2026)
8. GMX, introduction and trading fees. https://docs.gmx.io/docs/intro/ (18 September 2026)
9. gTrade (Gains Network), leveraged trading overview. https://docs.gains.trade/gtrade-leveraged-trading/overview (18 September 2026)
10. EVEDEX documentation, off-chain order book and on-chain settlement, named in text rather than linked. (18 September 2026)
11. CoinMarketCap, decentralized derivatives ranking. https://coinmarketcap.com/rankings/exchanges/dex/?type=derivatives (22 September 2026)

## FAQ

### What is an order book in crypto?

A list of the buy and sell orders resting at named prices, with the amount waiting at each. The
highest buy and the lowest sell set the quoted price, and the gap between them is the spread. A
market order walks down that list until it is filled.

### Can an order book be fully on-chain?

Yes, and two venues here do it. Hyperliquid holds its books inside its own layer 1, so an order,
a cancel, a fill and a liquidation are each transactions the validators agree on, and Aster runs
the same pattern on a chain it launched in March 2026.

### What is the difference between an AMM and an order book?

An automated market maker prices a swap from the ratio of the two assets in its pool, and the
pool takes the other side of every trade. An order book has no formula and no pool. It pairs one
trader with another, and the price is whatever the two agree on.

### Why don't most DEXs use order books?

Because a book is expensive to keep on a chain. Every order and cancellation is a state change,
and a market maker quoting both sides makes thousands a day. Pools avoid that by pricing from a
formula or a feed; book venues avoid it by matching off-chain or by building a chain of their own.

### Does Uniswap have an order book?

No. Uniswap is an automated market maker. Liquidity providers deposit pairs of tokens and a
formula sets the exchange rate as the reserves move. There are no resting limit orders to cross,
which is why a large swap pays by moving the price rather than by clearing a queue.

### who actually holds my orders on a perp dex

It depends on the design. On Hyperliquid and Aster the chain's own validators hold them. On
Lighter, edgeX, ApeX Omni, Paradex, Extended and Aevo an operator holds them in its own engine.
On dYdX every validator keeps a copy in memory that never reaches a block.

### What is a central limit order book?

One shared book for each market, held in one place, where every order competes first on price
and then on time. It is the design the stock exchanges use and the design behind the ten venues
scored here. The argument in crypto is only about where that one place sits.

### How does an on-chain order book handle gas fees?

By not charging them for each order. Hyperliquid and Aster run chains built for the job, where
placing and cancelling costs nothing at the wallet. Venues that match off-chain charge nothing
either, because the order never becomes a transaction — only the batch that settles it does.

### Is Hyperliquid's order book really on-chain?

Its documentation says so in plain terms, and describes every order, cancel, trade and
liquidation reaching the chain with finality inside one block. What it does not describe is a way
to withdraw when the chain stops, which is a separate property from where the book sits.

### What is a sequencer?

The party that decides the order in which transactions are processed before they are written to a
chain. On Lighter it is run by the operator, gives a soft confirmation first, and is followed by
a proof verified on Ethereum. One sequencer is one party a trader has to trust.

### can you place a limit order on a dex

On a book venue, yes — that is what the book is for, and the order rests until someone crosses
it. A pool venue has nothing to rest in. GMX describes orders executed by keepers against its
pools at the oracle price, so the instruction waits off the book until the price arrives.

## Corrections

Chain Sheet editors, 24 September 2026. Corrections: sheet@echoblock.org.

Publication of this sheet is bought.
