A cryptocurrency exchange is a mechanism for finding counterparties and exchanging one asset for another. The word exchange conceals major differences in how transactions are matched, where assets are held, who operates the infrastructure and what can go wrong.
The two broad models are the centralised exchange (CEX) and decentralised exchange (DEX). Both can support crypto trading, but they allocate responsibility differently. A centralised exchange typically operates accounts and intermediates trading. A decentralised exchange generally lets a user trade through blockchain software while interacting directly from a wallet. Neither label establishes safety, legitimacy or low cost.
What happens on a centralised exchange?
A CEX is operated by a business or group that maintains an account system, lists supported markets and provides a trading interface. Customers commonly deposit money or cryptocurrency into an account controlled by the platform. The exchange maintains internal balances and processes orders through its trading system.
Suppose Alex deposits €200, buys a hypothetical amount of BTC and later sells part of it. The exchange may record each trade on its internal ledger without performing a separate Bitcoin blockchain transaction for every order. Blockchain transfers typically matter when assets are deposited into or withdrawn from the platform.
The exchange can offer account recovery, customer support and familiar payment methods, but it also introduces dependence on its custody, operations, solvency and compliance. The ability to see an account balance does not by itself prove that assets are fully available for withdrawal.
What happens on a decentralised exchange?
A DEX commonly relies on smart contracts and blockchain transactions rather than an operator-held trading account. A person connects a compatible wallet, selects a token pair and approves the required transaction. The blockchain records the resulting changes if the transaction succeeds.
A DEX might use an automated market maker (AMM) supported by liquidity pools. Other decentralised venues use order books or hybrid arrangements. DEXs are not necessarily decentralised in every operational respect: interfaces, governance, upgrade keys, sequencers and data services may still be controlled by identifiable actors.
The absence of a conventional customer account does not remove legal requirements, scams or technology risks. A fraudulent website can impersonate an established DEX and request dangerous wallet permissions.
Custody: who controls the keys?
On many CEXs, the platform controls the private keys associated with pooled customer assets. Users authenticate with account credentials and may have contractual claims to their balances. Recovery may be possible in some circumstances, but withdrawals can be interrupted by operational or legal events.
For a typical self-custodial DEX transaction, the user controls the wallet keys. The transaction can nevertheless temporarily place assets under smart-contract control, and the user may grant token allowances that persist until revoked. A wallet can be compromised without its seed phrase being stolen if its owner signs a malicious approval or transaction.
Understanding custody is essential; see Wallet Types and Custody.
How prices are formed
A centralised order-book exchange matches bids and offers. The highest price buyers are willing to pay is the best bid; the lowest current seller offer is the best ask. The difference is the spread. Orders may be matched at several price levels depending on available quantity.
An AMM usually relies on pool balances and a pricing formula. With one widely used model, the relationship between two token reserves can be described as x × y = k before accounting for fees and implementation details. A large trade changes the reserve ratio and therefore the execution price. Actual implementations can use other formulas and designs.
In either model, the quoted price can differ from the execution price. This difference may reflect liquidity, price impact, market movement, fee mechanics or transaction ordering.
Why gas, approvals and slippage matter on a DEX
A DEX transaction may require the user to pay blockchain fees even if the trade fails. Many token swaps also involve an approval, a separate permission allowing a smart contract to move up to a specified quantity of a token. Excessive allowances can increase exposure if the approved contract becomes unsafe.
A slippage tolerance specifies the permitted departure from an expected execution outcome. A tight threshold may lead to failed transactions; a loose threshold may expose the user to much worse execution. Slippage settings do not eliminate risk from transaction ordering, malicious tokens or front-running and MEV-related activity.
Gas costs can also change while a transaction is being prepared. The cheapest-looking interface may not have the lowest overall execution cost once network fees, slippage and routing are considered.
How regulation and consumer protections differ
The rules depend on the actual service, legal entity, jurisdiction and activity. In the European Union, MiCA establishes requirements for defined crypto-asset services and providers; some instruments and activities are subject to other financial laws. A marketing label such as “DEX” does not by itself answer the legal classification question.
A reader should verify relevant authorisation when required and review the provider’s terms. Consult ESMA's MiCA information and register, and where applicable the national competent authority. Do not assume a smart contract offers a meaningful complaints process or a mechanism to recover funds.
Comparing the models
| Question | Centralised exchange | Decentralised exchange | |—|—|—| | Typical access | Account and identity checks, where applicable | Wallet connection; other conditions may apply | | Typical custody | Provider manages customer balances/keys | Wallet user generally controls keys | | Trade mechanism | Often internal order book | Smart contracts, AMMs, or on-chain/hybrid books | | Recovery | Account support may exist | Wallet recovery rests with the user | | Price costs | Spreads, maker/taker charges, other platform fees | Pool fees, price impact, gas, potential routing costs | | Main operational risk | Provider custody and availability | Smart contracts, approvals, wallets, frontends | | Legal status | Entity- and service-specific | Entity- and service-specific |
This is a general comparison, not a claim that every platform fits the same structure.
The security questions a DEX user must answer
Before connecting a wallet, confirm the authentic website through trusted primary references. Verify the network, token contract addresses and the transaction's intended effect. Be suspicious of unsolicited tokens that appear in your wallet and of messages instructing you to claim unexpected rewards.
A token may be buyable but difficult or impossible to sell because of restrictions in its contract, low liquidity or a malicious design. Check for concentrated control, blacklist functions, unusually high transfer taxes and other restrictions. Even a completed swap is not proof that the token is legitimate.
Questions to ask when assessing a CEX
What legal entity provides the service? Is it authorised for the relevant activity and jurisdiction? Does it publish transparent withdrawal rules? What happens during an outage? How are customer assets held? Are account recovery and security measures clearly documented? What are the actual fees for your payment method and market?
Avoid interpreting marketing statements such as “institutional-grade security” as verified proof.
Example: why the displayed quote can mislead
Imagine that one platform shows a hypothetical token at €10.00. A buyer requests 100 tokens but receives an average of €10.20 because the best offers were exhausted. The cost is €1,020 before explicit fees. Elsewhere, a DEX initially quotes 100 tokens at €1,000 but produces €25 of price impact and €8 in network and pool costs. The effective comparison must include all these elements; neither headline quote tells the full story.
These numbers are illustrative only.
Frequently asked questions
Is a DEX anonymous?
Blockchain transactions are generally public and may be analysed. The absence of account registration does not equal anonymity, and legal duties depend on circumstances.
Is self-custody always safer?
No. It avoids some provider custody risks but increases the consequences of lost keys, malicious approvals and wallet mistakes.
Can a centralised exchange stop withdrawals?
A provider may suspend or restrict withdrawals in certain circumstances under its terms and applicable law. Operational failures can also interrupt access.
Are fees always lower on decentralised exchanges?
No. Pool fees, price impact, routing and gas may make a transaction expensive, especially on congested networks or illiquid pairs.
Key takeaways
The important distinction is not simply “centralised versus decentralised”. It is who controls assets, who determines execution, what permissions the user grants, which safeguards apply and how a failure would be handled. Research those questions before considering any trading venue.
Next guide: How to Choose a Cryptocurrency Exchange Safely.