MARKET
Start from zero · DEX · Self-custody · 10 min read

What is a DEX? The one difference that changes who can freeze, lose or return your money

What is a DEX: you hold the keys, nobody can undo a mistake, and the fee lines of a swap DEX and a perp DEX cross at about a $196 ticket
Built from Hyperliquid’s documentation, Uniswap’s support pages and Circle’s USDC terms, all read on 27 Sep 2026. The custody table and the $196 crossover are ours.
Quick answer. A DEX, or decentralised exchange, is a trading venue that never holds your coins. You trade from a wallet whose keys you keep, against a pool or an order book that lives on a blockchain. Because no company holds the money, no company can freeze it, and no company can return it after a mistake. A swap DEX sells you a token; a perp DEX opens a leveraged contract against your margin. They share the word and little else.
What this page is. We wrote it from the primary documents, not from other explainers: Hyperliquid’s documentation for the perp side, Uniswap’s support pages for the swap side, and Circle’s USDC terms for the part nobody mentions — all read on 27 Sep 2026. We did not connect a wallet or sign anything, so every “what happens when” below is the documented mechanism, not a screenshot. If you want the side-by-side verdict against a centralised exchange, that is a separate page: DEX vs CEX. This one answers the question before it: what the thing actually is.

Key takeaways

  • One fact explains every other difference: on a DEX you hold the keys. No identity check, no support desk, no freeze, no refund — all four follow from that one line.
  • “Nobody can freeze you” is only true of the venue. Circle’s USDC terms reserve the right to block transfers to and from an on-chain address, and on Hyperliquid the validators, not you, sign and send every withdrawal.
  • A swap DEX and a perp DEX charge in different shapes. The pool takes a percentage plus gas each way; the perp venue takes 0.045% with no gas and a flat $1 to leave. The two lines cross at about a $196 ticket.
  • The thing a DEX cannot do is undo. Every row of the table below where the answer is “nobody” is a job that is now yours.

What is a DEX, and what is the one difference?

A decentralised exchange is a venue where the trade happens on a blockchain and your coins never leave a wallet you control. That is the entire definition. Everything people list as “features” of a DEX — no sign-up, no identity check, no support desk, nobody able to block your withdrawal — is not a design choice. It is what falls out when there is no company holding the money.

The contrast makes it concrete. On a centralised exchange your balance is a number in the company’s database, backed by coins in the company’s wallets. On a DEX there is no such number: there is your address, what it holds, and a set of contracts your wallet can send instructions to. Hyperliquid’s onboarding page puts the consequence in one sentence every beginner should read twice: “anyone with access to your private key or seed phrase can access your funds”. Not “your account”. Your funds. There is no account.

So the question this page is really about is not “is a DEX better?” It is: for each thing that can go wrong with money, who is able to act? That is the table we went looking for in these documents and could not find anywhere, so we built it.

Who can freeze, lose or return your money on each kind of venue?

Three columns, because “DEX” is really two products. A swap DEX lets you exchange one token for another against a pool of deposited tokens; you leave holding the token. A perp DEX runs an order book for perpetual futures, usually on a chain built for the purpose; you leave holding a contract, backed by stablecoin margin. The centralised column is there for reference; our DEX vs CEX comparison goes deeper on it.

The questionCentralised exchangeSwap DEX (pool)Perp DEX (own chain)
Who holds the keys to your coinsThe exchange. Your balance is a database entry.You. The pool contract holds only what you swapped into it.You. Your margin sits at your own address on the venue’s chain.
Who can freeze your balanceThe venue, and any regulator it answers to.No venue. But if the token is USDC, its issuer can block an address on chain (Circle’s terms).No venue. The same USDC clause applies to your collateral.
Who can stop a withdrawalThe venue: whitelists, cooling-off periods, a manual review.Nobody. There is no withdrawal; the tokens never left your wallet.No company can. The validators sign and send it; you send no transaction yourself.
Who can return money after a mistakeSupport, sometimes, slowly.Nobody. A swap to the wrong token or a transfer to the wrong address is final.Nobody. A withdrawal to the wrong destination is a valid signature, and valid is final.
Who can see your order before it fillsThe venue and nobody else.Anyone watching the mempool: the transaction is public before it is included in a block.Everyone: the docs say every order, cancel, trade and liquidation is on a public ledger.
Who checks your identityThe venue, before you trade.Nobody at the venue. The chain records the address, not the name.Nobody at the venue; the front end may still refuse some countries.
Who watches your leverageThe venue, continuously.There is no leverage to watch.You. Hyperliquid: leverage is checked only when the position opens.

Sources: Hyperliquid docs (About, How to start trading, USDC, Margining), Uniswap support (What is a network cost?), Circle USDC Terms (updated 12 Dec 2025), all read 27 Sep 2026; the centralised column summarises our DEX vs CEX page. The table itself is ours.

Two rows surprised us, and they are the reason this page exists rather than a one-line definition.

The freeze row. Every DEX explainer says nobody can freeze you. The venue cannot — that part is true. But the money most people bring to a DEX is USDC, and USDC is a token issued by a company. Circle’s USDC terms say, in their sections on blocked addresses and blocklisting, that Circle “reserves the right to block the transfer of USDC to and from an address on chain as permitted under the blocklisting policy”, and that it may be required to freeze USDC under a legal order. On Hyperliquid, USDC is “natively minted” on the venue’s own chain by Circle’s contracts. Self-custody removes the exchange from between you and your money. It does not remove the issuer of the dollar you are holding. We are not saying this happens to ordinary traders; we are saying the sentence “nobody can freeze a DEX balance” is wrong as written, and you should know who the exception is.

The withdrawal row. On a perp DEX with its own chain, leaving is not a transaction you send; it is a message you sign. Hyperliquid’s USDC page describes it exactly: the withdrawal “requires a user wallet signature on Hyperliquid only, and no Arbitrum transaction. The withdrawal from Arbitrum is handled entirely by validators”. Read that as a beginner would: your exit is carried out by the validator set, not by you. The staking page describes the chain as run by a quorum of more than two-thirds of stake; the withdrawal is one more thing that set signs and sends. No single company can block you. A set of validators, collectively, is what lets you out. That is a very different kind of trust from a CEX, and a real one, and it is better heard from the docs than discovered in a forum thread.

What happens to $100 on a perp DEX, in the order it happensTwo steps are coloured: they are the two where a habit imported from a centralised exchange costs money.1Your wallet holds USDC, and you hold the wallet's keyThe docs' own warning: anyone with the private key or seed phrase can access the funds.2Deposit: a transaction on the source chain, so this step costs gasCredited to the same address on the venue's chain; the docs say the gas is only for depositing.3Trade: every order sits on a public order book, gas-free0.045% taker or 0.015% maker at the entry tier; the $10 minimum order applies.4Nobody watches the position for you after it opensLeverage is checked once, at open. Liquidation follows the published formula, not a phone call.5Withdraw: a signature, a $1 fee, and validators do the restNo transaction on Arbitrum from you; the validators sign and send the funds in 3-5 minutes.6The USDC is back in your wallet, under the issuer's rulesCircle's terms reserve the right to block transfers to and from an on-chain address.Hyperliquid docs + Circle USDC Terms, 27 Sep 2026.
Read step five twice. On a decentralised venue your money still leaves through other people’s signatures — not a company’s, but a validator set’s. That is the honest version of “nobody can freeze you”: no single party can, and the validator set actively signs for you to leave.

What are the two kinds of DEX, and why does it matter which one you are on?

Because one of them can liquidate you and the other cannot. A swap DEX never lends you anything: you put in $100 of one token and get back roughly $100 of another, less fees. A perp DEX is a margin product: your $100 is collateral for a position that can be several times larger, and if the position moves against you far enough, it is closed for you by a published formula. Same word on the front of the site, different product behind it.

The two kinds of DEX are two different productsSame word, different mechanics: a swap DEX sells you a token, a perp DEX opens a leveraged contract against your margin.Swap DEX (a pool)Perp DEX (an order book)What you end up holdingThe token itselfA contract on USDC marginWho is on the other sideA pool of deposited tokensAnother trader's orderWhere the price comes fromThe pool's ratio of tokensBest bid and best askFee on a $100 order$0.30 at the 0.30% tier$0.045 taker, $0.015 makerGas per tradeYes, every swap, win or failNone; gas only to depositSlippage you acceptAuto 0.5%-5% (Uniswap app)Set by your order typeCan you use leverage?NoYes; checked only at openCan you be liquidated?NoYesUniswap support pages and Hyperliquid docs, 27 Sep 2026.
The last two rows are the ones that matter for a beginner. A swap DEX cannot liquidate you because you never borrowed; a perp DEX can, and on Hyperliquid the documentation says leverage is checked only when the position opens. The word “DEX” covers both, which is why a fee comparison between them says less than it seems to.

The row to underline for someone moving from a centralised exchange is “who watches your leverage”. On a CEX the venue monitors your margin continuously and will reduce you. Hyperliquid’s Margining page says the opposite in plain words: “Leverage is only checked upon opening a position. Afterwards, the user is responsible for monitoring the leverage usage to avoid liquidation.” The venue is not being careless; it is being consistent with the whole model. Nobody holds your money, so nobody is paid to watch it. Our page on funding and liquidation on Hyperliquid works through what that means at 5x, 10x and 20x.

What does a $100 order actually pay on a swap DEX and on a perp DEX?

Less than $1 in fees on either — but the shape of the bill is different, and the shape is what decides which one suits a small account. We took the published numbers from each side, put a $100 order through both, and left every cell blank that no official page gives a number for.

A $100 orderSwap DEX — Uniswap pool via its web appPerp DEX — Hyperliquid, entry tier
Trading fee$0.30 at the 0.30% tier, $0.05 at the 0.05% tier$0.045 as a taker, $0.015 as a maker
Fee charged by the app you clicked in$0.00 on the Uniswap interface (as of 27 Dec 2025)$0.00 on the venue’s own app; a third-party app may add up to 0.1%
Gas for the trade itselfYes, in the chain’s token, non-refundable even if the swap fails — amount not publishedNone. “Trading on Hyperliquid is gas-free”
Gas to get the money thereOnly if you first move tokens to that chainYes, once, on the source chain — amount depends on that chain
Slippage you agree to in advanceThe app sets 0.5%–5% automatically: $0.50 to $5.00 of a $100 swapSet by your order type; a limit order caps it at zero
Cost to leave with the moneyNothing: it is already in your wallet$1 flat withdrawal fee
Smallest ticket acceptedNot published; gas decides in practice$10 (“Order must have minimum value of $10”)
Total we can actually put a number on, in and out$0.60 + gas twice + slippage$1.09 ($0.09 fees + $1 exit) + deposit gas

Uniswap: fee tiers and interface fee from the Uniswap Labs support pages (interface fee 0% as of 27 Dec 2025; network cost “non-refundable, even if it fails”; auto slippage 0.5%–5%). Hyperliquid: Fees page tier 0, How to start trading (“trading is gas-free”), Exchange endpoint ($1 withdrawal), API error text ($10 minimum). All read 27 Sep 2026. We have no referral relationship with Uniswap.

Three things in that table are worth more than the totals.

  • The swap side has two costs nobody publishes in advance: gas and slippage. Gas is set by the chain at that minute, and Uniswap’s own page says it is charged even when the swap fails. Slippage is a tolerance you agree to before the trade: the app’s automatic setting is 0.5% to 5%, which on a $100 swap means you have pre-agreed to receive up to $5.00 less than the preview showed. That is 16.7 times the 0.30% fee. The fee is the small number on a swap; the tolerance is the big one.
  • The perp side’s cost is mostly a flat fee, which is why size matters so much. 0.045% each way on $100 is nine cents; the $1 to leave is the bill. We plotted both models against ticket size below. They cross at about $196: below that, the perp route’s flat exit fee makes it the dearer one; above it, the pool’s 0.30% each way does — and that is before adding gas to the swap side, which only widens the gap.
  • Neither number includes the way you lose real money on a DEX. A wrong network, a wrong address, a signature for a fake site. Those are not on any fee page, and they are the reason the self-custody checklist starts with a $20 test rather than a fee comparison.
Line chart of the cost of one round trip on a perp DEX and on a swap DEX by ticket size from $10 to $1,000: the perp line starts at $1.01 and rises slowly, the swap line starts near zero and rises at 0.60%; they cross at about $196
Two published fee schedules, drawn to scale. The perp venue’s line is almost flat because its main cost is a $1 exit fee; the swap pool’s line is a straight 0.60% because it charges a percentage each way. Gas and slippage are not drawn because neither is published in advance. Computed by us from the Hyperliquid and Uniswap pages listed at the end, read 27 Sep 2026.

If you were comparing on fees alone, the answer would be “it depends on the ticket”. You should not be comparing on fees alone. The products are different: one gives you a token to hold, the other a position that can be liquidated. Pick the product first, then look at what it costs.

What is a DEX NOT?

The word gets stretched, so here is the list we check a claim against before believing it.

  • A DEX is not a wallet. The wallet is yours; the DEX is a set of contracts your wallet talks to. Close the tab and your coins are still in the wallet.
  • A DEX is not anonymous. Hyperliquid’s own docs describe every order and trade as being on a public ledger anyone can verify in real time. Nobody asks your name; everybody can see your address.
  • A DEX is not un-freezable. No venue can freeze you. The issuer of the stablecoin you use as money can: Circle’s USDC terms reserve the right to block transfers to and from an address on chain.
  • A DEX is not operator-free. A perp DEX on its own chain runs on validators; Hyperliquid’s withdrawals are “handled entirely by validators”. Its web front end also refuses some countries.
  • A DEX is not automatically cheaper. The 0.045% headline is real, and so is the flat $1 to leave. Below about $196 a ticket, that $1 makes the perp route the dearer one before gas.
  • A DEX is not a place where mistakes get undone. There is no account to reset and no desk to call. The self-custody checklist exists because of this row.
WHO SHOULD NOT USE A DEX YET

Anyone opening their first trading account. Not because a DEX is dangerous in itself, but because the mistakes you make in your first months — wrong order type, wrong size, a plan abandoned mid-trade — are cheaper to make where a support desk exists and a withdrawal can be paused. Start on a centralised exchange and come back with the habits.

Anyone who cannot say what happens if they lose the seed phrase. The answer is “the money is gone, permanently, and there is nobody to ask”. If that is not yet an instinct, the seed phrase and self-custody entries are the two pages to read first.

Anyone in the United States. Hyperliquid’s interface is not offered to US persons, and our link below will not send you there. Readers in the UK see no venue links on this site at all, by design.

What do you do with this, if you have decided a DEX is for you?

Choose the product, then prove the route, then trade. If what you want is to hold tokens, a swap DEX is the tool and the cost to watch is slippage, not the fee. If what you want is leveraged exposure without handing custody to a company, a perp DEX is the tool, and the honest prerequisite is the one this page keeps returning to: you are now the person who watches the position, reads every signature and keeps the key. The self-custody checklist turns that sentence into six steps and a $20 test. Once those are done, the account walkthrough is how to start trading on Hyperliquid, and the fee page you will want open beside it is Hyperliquid fees explained.

IF THE PERP MODEL IS THE ONE YOU CAME FOR

Affiliate disclosure first: the button below is a referral link. The venue pays us a share of its trading fees at no extra cost to you, and its published referral rules give you a 4% fee discount on your first $25M of volume. It changes nothing on this page — see our disclosure policy.

Two sentences before you go, because they are the two the table above is built on: you hold the keys there, so a lost seed phrase is lost money and there is nobody to appeal to; and the venue checks your leverage only when a position opens, never again afterwards. Open it once from this link, then bookmark the address and use nothing else. If any of that feels unfamiliar, the exchange comparison is the better first stop.

Referral link — we may be paid if you sign up through it. Not offered to US persons, and readers in the UK see no venue links on this site at all. Education only; most retail traders lose money.

Common mistakes

  • Treating “DEX” as one product. A swap pool cannot liquidate you; a perp order book can. Know which one you are on before you read a single fee.
  • Believing nobody can freeze a DEX balance. No venue can. The issuer of the stablecoin you hold can block an address on chain, in its own published terms.
  • Comparing fees and ignoring the shape of the bill. A percentage plus gas and a flat $1 exit behave differently at $50 and at $5,000; the lines cross at about $196.
  • Assuming someone is watching the position. On Hyperliquid, leverage is checked at open and then it is your job.
  • Expecting a withdrawal to be a transaction you control end to end. On a perp DEX with its own chain it is a signature that validators execute. Normal, documented, and worth knowing before the first one.
  • Arriving at a DEX before a seed phrase feels routine. The failure mode is total and permanent; practise on a venue with a recovery flow first.

Frequently asked questions

What is a DEX in one sentence?

A decentralised exchange is a trading venue that never takes custody of your coins: you trade from a wallet whose keys you hold, against a pool or an order book that lives on a blockchain, and no company sits between you and your money — which also means no company can return it.

Is a DEX safer than a centralised exchange?

It removes one risk and adds another. Nobody can freeze your balance, exit your country with it or lose it in a bankruptcy. In exchange, nobody can recover it either: a lost seed phrase, a wrong-address withdrawal or a signature for a fake site is final. Which risk you would rather carry is a personal answer, not a technical one.

Can anyone freeze my money on a DEX?

No venue can. But if your money is a stablecoin, its issuer can act on the token itself: Circle’s USDC terms reserve the right to block transfers to and from an on-chain address and to freeze USDC under a legal order. Self-custody protects you from the exchange, not from the issuer of the dollar you hold.

What is the difference between a swap DEX and a perp DEX?

A swap DEX such as a Uniswap pool sells you the token itself, charges a percentage of the swap plus gas, and cannot liquidate you because you never borrowed. A perp DEX such as Hyperliquid opens a leveraged contract against USDC margin on an order book, charges 0.045% taker at the entry tier with no gas per trade, and can liquidate you.

Do I pay gas on a DEX?

On a swap DEX, yes, on every swap, and Uniswap’s support page is explicit that the network cost is non-refundable even if the swap fails. On Hyperliquid you pay gas once to deposit on the source chain; the docs say trading itself is gas-free, and leaving costs a flat $1.

Keep going: all our DEX guides, DEX vs CEX, what a gas fee is, and the Hyperliquid profile when you are ready to look at a real venue.

Risk reminder. Self-custody removes the company that could freeze your funds and, with it, the company that could help you recover them. A signed message or a lost seed phrase cannot be reversed by anyone. Perpetual futures can lose your entire margin in one move. Education only, not financial advice and not an endorsement. Most retail traders lose money.

Sources: Hyperliquid documentation — About Hyperliquid, How to start trading, USDC, Exchange endpoint, Fees, Margining and Staking; Uniswap Labs support — What are fee tiers?, What are Uniswap Labs’ fees?, What is a network cost?, How to change slippage and Price impact vs price slippage; Circle USDC Terms (updated 12 Dec 2025) — all read 27 Sep 2026. The custody table, the $100 table and the $196 crossover are our own. Published 27 Sep 2026.