Swapping a token should feel simple, but unfamiliar contracts, changing quotes, gas fees, fake assets, and irreversible transactions can make Uniswap confusing fast. Even experienced crypto users can misjudge price impact or provide liquidity without understanding how much risk they’re taking.
Before you connect your wallet, you need to know what happens behind the Swap button—and what can go wrong.
What Is Uniswap (UNI)?
Uniswap is a decentralized exchange protocol—a collection of smart contracts that lets you create markets, swap tokens, and provide liquidity without a central operator. Built primarily for Ethereum and other compatible networks, it uses an automated market maker instead of a traditional order book.
Hayden Adams created Uniswap, and its first public version launched on Ethereum mainnet in November 2018. Uniswap Labs, the company Adams founded, develops the web interface and other products that interact with the protocol. However, the company is separate from the underlying open-source smart contracts and doesn’t approve individual transactions.
UNI is Uniswap’s ERC-20 governance token. It launched in September 2020 and gives delegated tokenholders voting power over treasury spending, protocol fees, and other governance decisions. You don’t need UNI to make a swap, and it isn’t used to pay network gas fees.
How Does Uniswap Work?
Uniswap combines smart contracts, pooled assets, and algorithmic pricing to execute trades onchain. Instead of waiting for a matching buyer or seller, you trade against tokens already deposited in a liquidity pool.
Smart Contracts as the Protocol’s Foundation
The Uniswap protocol runs through smart contracts deployed on supported blockchains. These contracts hold pool assets, enforce pricing rules, and settle swaps without human approval. The code—not Uniswap Labs—executes the trade once you authorize the transaction in your wallet.
This distinction is important. The Uniswap web app is one interface for accessing the protocol, but other interfaces and applications can interact with the same contracts.
Automated Market Maker Mechanics
Uniswap is an automated market maker, or AMM. An AMM prices assets algorithmically rather than matching individual orders. Its foundational model uses the constant product formula:
x × y = k
Here, x and y represent the reserves of the two assets in a pool, while k is the product that the pool must preserve after accounting for fees. When a trade changes the reserve ratio, the pool’s quoted price changes automatically.
Trading Against Pooled Assets
Every Uniswap swap exchanges one asset for another against a liquidity pool. You deposit the input token into the pool and receive the output token from its reserves.
The size of your trade relative to the available liquidity affects execution. A small trade in a deep pool may move the price very little. The same trade in a thin pool can cause substantial price impact and a worse final rate.
The Roles of Swappers, Liquidity Providers, and Arbitrageurs
Three participant groups keep the system working:
- Swappers exchange one token for another and pay the applicable pool and network fees.
- Liquidity providers deposit assets into pools and earn a share of swap fees while their liquidity is active. They also accept risks such as impermanent loss.
- Arbitrageurs trade price differences between Uniswap pools and other markets, helping bring pool prices back in line with broader market prices.
Onchain Settlement Without a Central Intermediary
Uniswap settles trades onchain without taking custody of your account balance. You retain control of your wallet and authorize each transaction yourself.
However, self-custody also means transactions usually can’t be reversed. There’s no centralized support desk that can cancel a completed swap, retrieve assets sent to the wrong address, or reimburse you for interacting with a malicious token contract.
What Are Uniswap Liquidity Pools?
Uniswap liquidity pools are smart contracts that hold the reserves used for trading. Each pool acts as a separate onchain market with its own token pair, fee configuration, and available liquidity.
Two-Asset Token Markets
A standard Uniswap pool contains two assets, such as an ERC-20 token paired with ETH or another ERC-20 token. A swap exchanges one side of the pair for the other.
A router may combine several pools to complete a trade, but each individual pool still represents a two-asset market.
Liquidity Supplied by Users
Liquidity providers fund pools by depositing both assets required for a position. In return, they earn a share of the swap fees generated while their liquidity is active.
Fee income isn’t guaranteed to offset losses. Your result depends on trading volume, price changes, fee settings, the selected price range, gas costs, and how the position performs compared with simply holding the assets.
Pool Reserves and Available Trading Depth
Pool reserves determine how much trading depth is available. Deeper liquidity generally allows a pool to absorb larger swaps with less price movement. Thin liquidity produces greater price impact and can make the executed rate noticeably worse than the initial quote.
When reviewing a swap, distinguish between:
- Price impact, which comes from your trade changing the pool’s reserve ratio
- Slippage, which is the difference between the expected and final execution price and can also reflect market movement before confirmation
- Slippage tolerance, which sets the maximum acceptable price change before the transaction reverts
Liquidity Pools as Shared Market Inventory
A liquidity pool works like shared market inventory that any compatible trader or application can access. When its price moves away from other markets, arbitrage trades adjust the reserves until the difference becomes too small to profit from.
Uniswap v3 and v4 make this inventory more capital-efficient by allowing providers to place liquidity inside selected price ranges instead of distributing it across every possible price.
How Uniswap Calculates Prices
The original Uniswap design applies the constant product formula across the full price curve. A trade adds one reserve asset and removes the other, changing their ratio and therefore the marginal price.
Suppose you want to buy a token from a pool. As your swap removes more of that token, each additional unit becomes more expensive. This is why a large trade doesn’t execute at one fixed pool price.
Uniswap v3 introduced concentrated liquidity, allowing providers to allocate capital within specific price ranges. Uniswap v4 keeps range-based liquidity while adding more programmable pool behavior. The underlying pricing logic still depends on pool reserves, but only liquidity active at the current price contributes to the trade.
What Fees Does Uniswap Charge?
A Uniswap transaction can include several costs. They don’t all go to the same recipient, and some may not apply to every swap.
| Cost | What It Covers | Who Receives It |
|---|---|---|
| Pool fee | Trading against a liquidity pool | Primarily active liquidity providers, minus any enabled protocol fee |
| Protocol fee | A governance-set share of eligible pool fees | The protocol’s fee-collection and UNI-burn system |
| Network gas fee | Blockchain computation and transaction inclusion | The network’s validators, with Ethereum’s base fee burned |
| Token tax | Logic coded into certain token contracts | An address or mechanism defined by the token |
| Approval cost | Permission for a contract to transfer an ERC-20 token | The blockchain network through gas |
Pool or Swap Fees
The swap fee is charged as a percentage of the input amount. Uniswap v3 supports multiple fee tiers so pools can price risk differently for stable, correlated, or volatile token pairs. Uniswap v4 can also support dynamic fees through hooks.
Most pool fees accrue to liquidity providers whose capital is active at the current price. A portion may instead become a protocol fee when the relevant governance-approved configuration is active.
Network Gas Fees
Every onchain swap requires a network fee. On Ethereum, gas is paid in ETH. The base fee is burned, while an optional priority fee compensates the validator that includes the transaction.
Gas isn’t paid to Uniswap or its liquidity providers. Other EVM-compatible networks use their own native assets for gas and may have different fee levels.
Protocol Fees and the UNI Burn
Uniswap governance activated a protocol-fee and UNI-burn system through the December 2025 UNIfication proposal. Eligible fees are collected onchain, and external participants can burn UNI to claim the accumulated fee assets through the system’s release mechanism.
This design reduces UNI supply as protocol revenue is released. It doesn’t distribute dividends or automatic staking yield to every UNI holder. Protocol-fee coverage can also change through governance, so the current implementation is more reliable than a fixed list of enabled pools.
Token-Specific Buy and Sell Taxes
Some ERC-20 contracts deduct an additional tax when tokens are bought, sold, or transferred. This tax is written into the token contract and isn’t a standard Uniswap fee.
Hidden or unusually high taxes can indicate a malicious or low-quality token. In some scams, users can buy a token but can’t sell it. Always verify the contract address and test unfamiliar assets cautiously.
Approval Transaction Costs
Before a contract can transfer a standard ERC-20 token, you usually need to grant it permission. A traditional approval is a separate onchain transaction and requires gas.
Uniswap’s Permit2 system supports signature-based permissions and time-bounded allowances. It can reduce repeated approval transactions, but you should still review the permitted token, amount, spender, and expiration before signing.
Who Are Uniswap Liquidity Providers?
A liquidity provider is anyone who deposits assets into a Uniswap pool to earn a share of trading fees. In Uniswap v2, providers receive fungible LP tokens representing their percentage of the pool.
Uniswap v3 changed this structure by letting providers choose a price range. Because each position can use a different range and fee tier, standard v3 positions are represented as NFT positions rather than identical LP tokens.
Concentrated liquidity can generate more fees per dollar while the market price remains in range. However, it requires more active management:
- You select a pool, fee tier, and price range.
- Your capital earns fees only while the market price is inside that range.
- As the price moves, the position’s balance shifts toward one of the two assets.
- If the price leaves the range, the position becomes inactive and stops earning swap fees.
- You must collect fees, adjust the range, or withdraw the position yourself.
A more efficient position isn’t automatically a more profitable one. Volatility, impermanent loss, rebalancing costs, and gas can outweigh the fees earned.
How to Get Free Crypto
Simple tricks to build a profitable portfolio at zero cost
How Has Uniswap Evolved Over Time?
Uniswap has released four major protocol generations. New versions haven’t erased the old contracts, so v2, v3, and v4 can continue holding liquidity and processing trades at the same time.
| Version | Launch | Main Change |
|---|---|---|
| Uniswap v1 | 2018 | ERC-20 trades routed through ETH |
| Uniswap v2 | 2020 | Direct ERC-20 pairs, LP tokens, flash swaps, and improved oracles |
| Uniswap v3 | 2021 | Concentrated liquidity, ticks, and multiple fee tiers |
| Uniswap v4 | 2025 | Hooks, a singleton PoolManager, flash accounting, and customizable fees |
Uniswap v1 and ETH-Based Routing
Uniswap v1 launched on Ethereum in November 2018. Pools paired one ERC-20 token with ETH, so token-to-token trades had to route through ETH. This version established that a constant product AMM could operate entirely through onchain contracts.
Uniswap v2 and Direct ERC-20 Token Pairs
Uniswap v2 launched in 2020 and allowed any two ERC-20 tokens to form a direct pair. It also introduced fungible LP tokens, flash swaps, and improved price-oracle functionality.
Direct token pairs made routing more flexible because every trade no longer needed ETH as an intermediate asset.
Uniswap v3 and Concentrated Liquidity
Uniswap v3 launched in 2021 and introduced concentrated liquidity. Providers can choose a range bounded by price ticks and select from several fee tiers.
This design improves capital efficiency because funds can be placed near the current market price. It also makes positions more complex, since inactive liquidity earns no fees when the price moves outside its range.
Uniswap v4 and Programmable Pools
Uniswap v4 launched in January 2025. It keeps concentrated liquidity and adds hooks—external smart contracts that can run custom logic before or after actions such as swaps and liquidity changes.
V4 also places pools inside a singleton PoolManager contract and uses flash accounting to settle net balance changes at the end of a transaction. This can reduce unnecessary token transfers when a route performs several actions.
Coexistence and Cross-Version Routing
Uniswap v4 didn’t replace v2 or v3. Each version remains a separate set of immutable contracts, and liquidity can stay in older pools as long as providers and traders continue using them.
Modern routing tools can compare or combine liquidity across versions. This allows you to receive a better execution route without manually choosing one protocol generation.
How Does Uniswap Route Trades Today?
The Universal Router can perform several actions in one transaction and route swaps through Uniswap v2, v3, and v4. It also integrates Permit2 for token permissions.
A router may split a trade across multiple pools when that produces a better result than using one pool alone. The final route depends on liquidity, fees, gas costs, price impact, and the assets involved.
UniswapX offers a different execution model. It uses signed orders and competing fillers rather than sending every trade directly to one pool route. A Dutch auction can improve the execution price over time until a filler accepts the order. Fillers may use Uniswap pools, private inventory, or external liquidity to settle it.
What Is the UNI Token?
UNI is the ERC-20 token used for Uniswap governance. It launched on September 16, 2020, but it isn’t required for trading and isn’t a gas token.
UNI holders can participate in governance after delegating their voting power to themselves or another address. Delegation doesn’t transfer ownership or lock the tokens. It assigns the right to vote with them.
Through governance, delegated UNI can influence:
- Community treasury spending
- Protocol-fee settings and expansions
- Governance contracts and protocol parameters
- Additional UNI issuance within the system’s authorized limits
- Other proposals that fall within Uniswap governance’s control
The protocol-fee burn connects some Uniswap activity to UNI supply reduction. However, holding UNI alone doesn’t guarantee income, rewards, or a share of fees.
Is Uniswap Only on Ethereum?
Uniswap started on Ethereum, but official deployments now exist on numerous networks. These include Arbitrum, Optimism, Polygon, Base, BNB Chain, Avalanche, Unichain, and others.
Each network has separate contracts, pools, liquidity, and gas fees. A token held on one chain doesn’t automatically exist or become tradable on another. Moving assets between networks normally requires a bridge or another cross-chain service.
Supported networks and protocol versions change over time. Check the official deployment list before relying on a specific chain or contract address.
How Does Uniswap Governance Work?
Uniswap governance is a token-based system that uses delegated UNI voting power. Simply holding UNI doesn’t activate your votes. You must delegate them to your own address or another representative.
A proposal generally moves through public discussion, offchain signaling, and a binding onchain vote. Successful onchain proposals can execute predefined actions through governance contracts.
Governance can authorize treasury spending, change eligible fee settings, and update mechanisms under its control. It doesn’t manually approve individual swaps, list every tradable token, or custody user funds.
How Was UNI Distributed?
One billion UNI were minted at genesis. The original allocation distributed 60% to the Uniswap community, while the remaining supply went to team members, investors, and advisers under vesting schedules.
Fifteen percent of the genesis supply was initially claimable by historical users and certain liquidity providers. The token design also allowed governance-controlled annual inflation of up to 2% after the original four-year period.
The December 2025 UNIfication proposal also executed a 100 million UNI treasury burn. This was separate from the ongoing mechanism that burns UNI when collected protocol-fee assets are released.
How Do Protocol Fees Affect UNI?
Protocol fees redirect part of eligible pool fees away from liquidity providers and into Uniswap’s fee-collection system. They don’t apply identically to every pool, version, or network, and governance can expand or change coverage.
Under the live burn mechanism, participants burn UNI to release accumulated protocol-fee assets. This creates a direct supply-reduction process tied to fee collection, but it doesn’t make UNI a dividend-paying or automatic yield-bearing token.
The effect on UNI’s market value is uncertain. Burn activity reduces supply, but UNI’s price still depends on demand, market conditions, governance expectations, and broader crypto risk.
Uniswap vs. Centralized Exchanges
Uniswap and centralized exchanges can both facilitate token trades, but their custody, execution, and risk models differ.
| Feature | Uniswap | Centralized Exchange |
|---|---|---|
| Asset custody | You trade from your own wallet | The exchange usually holds customer balances |
| Trade execution | Smart contracts and liquidity pools | Internal order books or dealer systems |
| Account required | Not at the protocol level | Usually yes |
| Transaction settlement | Public blockchain | Mostly internal until withdrawal |
| Fees | Pool fee, gas, and possible token tax | Trading, deposit, withdrawal, or service fees |
| Token access | Permissionless pools at the protocol level | Assets selected by the exchange |
| Error recovery | Transactions are generally irreversible | Support may sometimes intervene |
| Main responsibility | Wallet security and contract verification | Account security and counterparty risk |
Uniswap gives you direct control of your private keys, but that control comes with responsibility. You must verify the network, token contract, recipient, approvals, and transaction details before signing.
Is Uniswap Safe to Use?
Uniswap’s core contracts have undergone multiple audits, but using audited infrastructure doesn’t remove every risk. The protocol is permissionless, so anyone can create a compatible token and pool. A token appearing on Uniswap isn’t an endorsement from Uniswap Labs or governance.
Common risks include:
- Fake tokens that imitate legitimate projects
- Honeypots or contracts that restrict selling
- High transfer taxes hidden in token logic
- Price impact and slippage in thin pools
- Malicious websites and wallet-draining signatures
- Unlimited or outdated token approvals
- Impermanent loss and out-of-range liquidity positions
- Smart contract and hook risks in third-party integrations
For better Uniswap safety, access the interface through a verified URL, confirm the token contract through the project’s official channels, review every wallet request, and consider testing unfamiliar swaps with a small amount first.
How to Buy UNI
You can buy UNI using Changelly, either on the website or mobile app, in a few simple steps:
- Open Changelly or launch the Changelly app and select UNI as the cryptocurrency you want to receive.
- Enter the amount you want to spend and choose your fiat currency and preferred payment method.
- Add your UNI wallet address. Make sure the wallet supports UNI on the selected network.
- Review the order details, including the estimated UNI amount, fees, exchange rate, and network.
- Complete the payment by following the instructions from the selected payment provider.
- Wait for the transaction to process. The purchased UNI will be sent directly to the wallet address you provided.
Double-check the wallet address and network before confirming the purchase. Crypto transactions are generally irreversible, and using the wrong address or network may result in lost funds.
Final Thoughts
Uniswap lets you swap tokens and provide liquidity without handing custody to a centralized exchange. Its AMM pools, concentrated liquidity, routers, and hooks make onchain trading flexible, but they also introduce price impact, approval, token, and liquidity-provider risks.
Before you sign, check the contract, network, quote, fees, and permissions. A little verification can prevent an irreversible mistake.
Disclaimer: Please note that the contents of this article are not financial or investing advice. The information provided in this article is the author’s opinion only and should not be considered as offering trading or investing recommendations. We do not make any warranties about the completeness, reliability and accuracy of this information. The cryptocurrency market suffers from high volatility and occasional arbitrary movements. Any investor, trader, or regular crypto users should research multiple viewpoints and be familiar with all local regulations before committing to an investment.
