Sub topic 1
What a Centralized Exchange Is and What It Does
Prerequisites
This chapter assumes you already know the following:
- What a cryptocurrency such as Bitcoin (BTC) or Ether (ETH) is, and that it lives on a blockchain.
- That a wallet holds keys, and that whoever controls the keys controls the coins.
- How to use a web browser, a phone camera, and email.
You don't need to know anything about trading. The chapter explains order books and fees from scratch.
What a centralized exchange is
A centralized exchange (CEX) is a company that runs a marketplace where users trade crypto for other crypto or for ordinary money, called fiat currency (for example USD, EUR, or GBP). "Centralized" means one organization operates the platform. It decides who may open an account, which assets are listed, and when withdrawals are paused.
This differs from a decentralized exchange (DEX). A DEX is a set of smart contracts on a blockchain. You trade straight from your own wallet, and no company approves you. A CEX trades convenience for trust: you rely on the operator to hold your assets and to follow the law. That is why a CEX asks for identity documents and a DEX usually doesn't. The rest of this tutorial covers that identity process.
The four jobs an exchange does
Most centralized exchanges bundle four services.
- Fiat on-ramp and off-ramp. You can deposit money by bank transfer or card, and later withdraw it. This is the main reason beginners use a CEX.
- Matching. The exchange pairs buyers with sellers.
- Custody. The exchange holds the assets on your behalf while they sit in your account. The next chapter compares this with self-custody.
- Extra products. Many platforms add savings or staking programs, margin trading, futures, and token sales. Each has its own rules and risks, and some are unavailable in your country.
How matching works: the order book
Each trading pair, such as BTC/USD, has an order book. This is a live list of buy orders (bids) and sell orders (asks), sorted by price. A program called the matching engine runs the book. When a bid and an ask cross, it executes a trade.
Here is a simplified BTC/USD book.
| Side | Price (USD) | Size (BTC) |
|---|---|---|
| Ask | 60,030 | 0.50 |
| Ask | 60,010 | 0.20 |
| Ask | 60,000 | 0.10 |
| Bid | 59,990 | 0.30 |
| Bid | 59,980 | 0.40 |
| Bid | 59,950 | 1.00 |
The best ask (60,000) and the best bid (59,990) are 10 USD apart. That gap is the spread.
Two order types matter most:
- A limit order sets your price. "Buy 0.1 BTC at 59,990 or lower." If no seller matches, the order waits in the book.
- A market order takes the best prices available right now.
Suppose you place a market order to buy 0.25 BTC. It fills 0.10 BTC at 60,000 and 0.15 BTC at 60,010. Your average price is 60,006. The difference from the best quoted price of 60,000 is called slippage. Thin books and large orders produce more slippage.
Fees: maker and taker
Exchanges usually charge a fee on each trade. Many use a maker/taker model:
- A maker adds an order to the book that waits and provides liquidity (the ability for others to trade without moving the price much).
- A taker removes liquidity by matching an order already in the book, which is what a market order does.
Takers typically pay more than makers. Fee rates often drop as your 30-day trading volume rises. Check the fee schedule rather than the marketing page, because other costs are separate: network fees on withdrawals, bank or card charges on deposits, and spreads.
Many exchanges also have a simplified "Buy" or "Convert" button next to the advanced trading screen. It is easier to use, but the price often includes a markup over the book's mid-price. Compare the all-in price for the same amount on both screens before you use the simple one regularly.
Where the blockchain fits in
Most beginners assume every trade is a blockchain transaction. It isn't. An exchange keeps an internal ledger, which is a database of who owns what inside the platform. The flow is:
- You deposit crypto. The transfer goes on-chain to an address the exchange controls, and the exchange credits your internal balance after enough confirmations.
- You trade. The matching engine changes numbers in the database. Nothing is written to the blockchain, so trades are fast and carry no network fee.
- You withdraw. The exchange sends an on-chain transaction from its own funds to your address and debits your internal balance.
So the "BTC" in your exchange account is a claim on the exchange. It isn't a coin sitting under your name on the blockchain. This is the core of the custody trade-off.
Why identity checks exist at this layer
The fiat ramps and the custody role place the exchange under financial regulation in most countries. Regulators treat it like a money-services business. It must know who its customers are (KYC) and watch for money laundering (AML). That is the reason the account-opening steps in later chapters exist. The exchange isn't being nosy by choice. Its license depends on these checks.
Common errors and misconceptions
- Treating the exchange as a bank or a wallet. Crypto balances are usually not covered by deposit insurance. Whether and how they are protected depends on the exchange and the jurisdiction.
- Judging the exchange by the headline fee only. Spreads, withdrawal fees, and deposit charges often cost more than the trading fee.
- Using market orders on thin pairs. Low-volume pairs have wide spreads and heavy slippage. Use limit orders there.
- Assuming every feature is available to you. Derivatives, staking, and some tokens are restricted by country and by verification level.
- Confusing the exchange with a particular coin. An exchange's own token, if it has one, is a separate asset with separate risk.
Summary
A centralized exchange is a regulated company that offers fiat access, a matching engine, custody, and add-on products. Trades happen on an internal ledger, and only deposits and withdrawals touch the blockchain. Costs include maker/taker fees, spreads, slippage, and transfer fees. Because the exchange holds your assets and connects to the banking system, it must verify who you are. Later chapters show how.
Exercise
You place a market order to buy 0.25 BTC. The book has asks of 0.10 BTC at 60,000 and 0.50 BTC at 60,010. What is your average fill price, and does the trade create an on-chain transaction?
Show answer
The order fills 0.10 BTC at 60,000 and 0.15 BTC at 60,010. The average price is (0.10 × 60,000 + 0.15 × 60,010) / 0.25 = 60,006 USD. The trade creates no on-chain transaction, because the exchange only updates balances in its internal ledger. A blockchain transaction happens only when you deposit or withdraw.
Exercise
Give two reasons a centralized exchange asks for identity documents while a decentralized exchange usually does not.
Show answer
First, the CEX connects to bank accounts and card networks, so it is regulated as a financial business and must run KYC and AML checks. Second, the CEX holds customer assets in custody, which is a regulated activity. A DEX is smart-contract software where users keep their own keys, so no company holds assets or onboards customers.