Uniswap

Uniswap lets you swap tokens or provide liquidity

Uniswap lets you swap compatible tokens through smart contracts or provide pool liquidity that can earn fees from token swaps. Swapping changes the assets in your wallet; providing liquidity commits assets to trading and changes your exposure over time. Pool versions, execution routes, and network support affect how those activities work. The apps also provide access to fiat payments, crosschain transfers, and lending through separate providers and protocols.

Updated ยท

Full-range pools, price ranges, and hooks

Pool versions determine how liquidity supports a swap and how providers choose their exposure, so their differences affect both activities. An automated market maker (AMM) calculates trades using pool rules and available assets. Trading changes token balances and the prices available for later trades.

Uniswap v2 uses full-range liquidity for pairs of ERC-20 tokens. Its reserve-product model, x * y = k, relates the two token balances. The balance ratio changes during a trade; k does not describe a fixed exchange rate. Retained trading fees can increase the reserve product over time.

Uniswap v3 introduces positions defined by selected price ranges. Providers can choose different ranges within the same pool, and separate pools can exist for the same token pair at different fee tiers. That gives the provider a choice of market and exposure within the protocol.

Uniswap v4 uses concentrated liquidity as its base design and manages pools through a shared PoolManager contract. Its flash accounting nets balance changes before final settlement, reducing intermediate transfers. It also supports native Ether (ETH) and optional hooks, which are contracts that customize particular pool operations.

A v4 hook can alter fee logic or pricing behavior within its implementation. Those capabilities belong to the configured pool and attached code.

Web app, wallets, and developer access

The web app provides trading, market exploration, and liquidity management, while wallet products supply the account that authorizes those activities. Uniswap Labs builds these interfaces around the protocol. The web app can connect to an existing compatible wallet, leaving transaction authorization in that wallet. The mobile wallet and browser extension provide other access choices, and the web app also supports an embedded wallet created with a passkey.

The web app handles creating and managing liquidity positions; the mobile wallet does not provide those controls directly. A mobile wallet can connect to the web interface for liquidity management. Developers can integrate trading through the application programming interface (API), software development kits (SDKs), and deployed contracts. An integration's network coverage, router version, and routing settings can differ from those of the consumer app.

Network support and token standards

Trading through a chosen interface requires support for the selected network and an available route, with each pool version following its own deployment map. Ethereum has v2, v3, and v4 deployments. Unichain, an Ethereum Layer 2 developed by Uniswap Labs, also supports these versions. The web app also supports Solana swaps through Jupiter with a Solana-compatible wallet. Its embedded wallet does not support Solana. A token balance exists on a particular network, and matching tickers can identify different token contracts. ERC-20 compatibility matters for the Ethereum-based pool designs, with native-token support depending on the version and route. A same-network swap uses assets on that network; moving assets between networks needs a supported crosschain route.

Quotes, routing, and price impact

A usable swap quote requires sufficient liquidity for the selected amount, and the route can matter as much as the pool's fee. Routing can split a trade across pools or use intermediate tokens. Available versions, liquidity depth, and execution costs influence the selection. The app's market display gives context, while the quoted output describes the proposed trade. A headline token price alone does not establish what the full order will receive.

Price impact describes the effect of the trade itself on available pool prices. Slippage concerns changes between the quote and execution. An exact-input pool swap can enforce a minimum output; an exact-output swap can enforce a maximum input. A transaction deadline limits how late the swap may execute. These controls protect the chosen execution bounds, and wider tolerance accepts a broader range of outcomes.

From a quote to a completed swap

A same-network swap uses a pool transaction or an eligible signed order. Its route determines the spending permissions and settlement method.

Summary: From a quote to a completed swap
Swap stage Action What it establishes Required before this stage
Wallet access Connect or use a compatible wallet on the selected network. The interface can read the wallet address and balances. Control of a compatible wallet on a supported network.
Quote review Select the tokens and amount, then inspect output, routing, and costs. A proposed exchange with execution limits. A quote available for the selected network, tokens, and amount.
Spending permission Authorize token access if the route requires it. An allowance after onchain confirmation, or a signed permission ready for use. Authority to sign and funds for any unsponsored onchain authorization.
Swap submission Authorize and submit the swap transaction or signed order. A request for execution, which may remain pending. Acceptable reviewed terms, required permissions, token balance, and any gas or wallet setup.
Settlement review Read the confirmed outcome and resulting token balances. Successful execution establishes the completed exchange. Successful onchain settlement, beyond a quote or signature.

Compatible wallets can bundle approval and swapping into one transaction. An approval or signature alone does not establish that output tokens have arrived.

Pool fees and network costs

Swap costs depend on the pool, execution route, and network, so a single percentage cannot describe every exchange under the same name. Uniswap v2 charges 0.30% of the input amount. The v3 protocol uses enabled fee tiers, allowing separate pools for the same pair. The v4 protocol supports static or dynamic fees, and a hook can add its own charges. The actual route determines which pool fees apply.

Protocol fees allocate part of applicable swap revenue to the protocol. They are separate from the interface fee and can reduce the share retained by liquidity providers (LPs). The rollout covers v2 and selected v3 pools, with further deployments governed separately. Uniswap Labs has charged no interface fee since December 27, 2025. That change leaves pool charges, network costs, and any route-specific costs relevant to the exchange.

Network costs pay for blockchain execution and change with activity and transaction complexity. Token contracts can also impose their own transfer charges. Approvals, position changes, or bridge operations may add costs beyond the swap itself. A comparison of available routes needs the expected output and the separate execution costs, including any expenses incurred before settlement.

Liquidity income and changing token exposure

Liquidity income requires trading against the capital that a position makes available, and the position's share of active liquidity affects its fee allocation. A standard Uniswap v3 position earns swap fees only while the pool price lies within its selected range. Narrow ranges trade a tighter capital allocation for more sensitivity to price movement. Full-range liquidity distributes the capital more broadly.

Pool trading changes the quantities of tokens that belong to a liquidity position. Relative price changes can leave that position worth less than holding the original assets separately, a difference commonly called impermanent loss. Fees may offset some of that difference, but they do not establish a positive total return. Adding, adjusting, collecting from, and removing a position can also incur network costs. Pool volume and an advertised fee rate therefore describe only part of its economics.

UniswapX orders and target-price trading

UniswapX provides another execution path when a supported order attracts a filler that can deliver its terms, using liquidity beyond individual pools. A filler is a third party that completes signed orders using available pools or its own inventory. The filler pays for the settlement transaction and includes that cost in its offered price. Initial token approvals or wallet setup may still require a funded transaction from the swapper.

Native-token handling also follows the selected path. Supported smart-wallet routes can spend native ETH through the ERC20ETH allowance contract without wrapping. This requires EIP-7702 wallet delegation and ERC-7914 support. The wallet must grant a native ETH allowance to ERC20ETH on a network where that contract is deployed. Conventional UniswapX routes can require wrapping. The web app's limit orders use the UniswapX filler network to target a chosen price within an expiry. Open limit orders leave tokens in the wallet rather than locking them in a pool. The web app's limit orders are limited to Ethereum Mainnet, even though UniswapX supports additional networks.

Fiat payments, crosschain transfers, and lending

Buying or selling with local currency uses an external payment provider, whose regional availability and verification requirements govern the available payment method. These services differ from an onchain token swap. Selling to a bank account also follows the provider's processing and banking timelines. The app gives access to the service; the provider handles the cash leg.

Crosschain swaps combine bridging with token exchange on eligible network pairs. The app uses Across and swap routing for this feature. Bridging moves a supported asset between networks, with its representation depending on the route. Bridge fees, destination liquidity, and network conditions affect the quote and completion. Support for swapping on a network does not establish that every crosschain route involving it is available.

Graphic: Uniswap - Fiat payments, crosschain transfers, and lending

View full-size image

Earn provides a separate lending activity through supported Morpho vaults curated by Gauntlet. It currently supports selected assets through vaults on Ethereum Mainnet. Lending yield follows the underlying markets, while a liquidity position earns from trading. Earn has no fixed lockup, but available vault liquidity limits immediate withdrawals. Its variable yield and smart contract exposure remain relevant even when the deposit appears alongside a wallet portfolio.

UNI and protocol governance

UNI gives token holders governance rights over protocol decisions, including fee parameters and treasury spending. Governance has its own delegation and voting procedures. Following the December 2025 fee changes, collected protocol revenue supports UNI burning through the fee contracts. Participants can claim configured collected assets by burning the required UNI amount. Holding UNI does not create an individual claim on protocol revenue. Governance participation, owning a liquidity position, and swapping tokens each involve different rights and obligations.

Market exploration, auctions, and custody limits

Explore displays token prices, pool liquidity, and transaction activity on supported networks. Those fields describe the market without establishing the token's quality or sellability. Token creators can impose transfer restrictions. A token team that controls unlocked liquidity can remove it. A contract address identifies the selected asset more precisely than its name or ticker. Hook code in v4 adds another pool-specific source of behavior and risk.

The Liquidity Launchpad supports market formation, including Continuous Clearing Auctions linked to post-auction v4 liquidity. These auctions distribute tokens gradually under bid budgets and maximum prices. The configured fundraising threshold determines whether an auction graduates. If it is not met, bidders can withdraw their funds and no tokens are sold. Timing and claim rules belong to each auction. A verified auction badge concerns token-team identity; it does not establish the token's value or future return.

Self-custody keeps transaction authorization with the wallet, while completed trades expose addresses and amounts on the public blockchain. Signing can grant spending permission or approve an order. Protocol access, interface privacy practices, and payment-provider identity checks have different scopes. An interface can display a token balance even when its contract prevents selling or the available pool liquidity is too thin.

Uniswap: frequently asked questions

Does disconnecting my wallet revoke its token approvals?

Disconnecting a wallet does not revoke an existing onchain token allowance. Disconnecting ends the app connection, while the allowance remains part of the token contract's state. Revocation changes that permission through an onchain transaction and requires network costs. A later swap may need a new approval after revocation. The approved token and spender determine which permission you are changing.

Why can a limit order stay open after a chart reaches its target price?

A chart price does not guarantee that a filler can execute the full order economically. Execution also needs sufficient liquidity, the required token balance, and an available filler at the agreed terms. Network costs can make a fill unattractive even when the displayed price touches the limit. The order remains subject to its expiry and cancellation status.

Can tokens with transfer fees use every standard pool router?

Standard v3 routers do not support fee-on-transfer tokens. Some v2 router functions support inclusive transfer fees, where the recipient receives less than the sender transfers. Tokens that trigger an extra trailing transfer can still cause failures or inconsistent pool accounting in v2. A customized router or token wrapper can support a different path, whose behavior depends on its implementation.

Are network costs refunded when a pool swap fails?

A pool-swap transaction that executes and reverts can still consume gas. The network charges for work performed even though the exchange did not settle. Rejecting a wallet prompt is a different state from a reverted transaction. UniswapX generally assigns fill-transaction costs to the filler, while initial approvals and required wallet setup can still cost the swapper.

Will my liquidity fees automatically compound into the position?

Standard v2 pools retain LP fees in their reserves, increasing the assets represented by pool shares. Standard v3 and v4 positions track fees separately, so accumulated fees do not automatically expand the deposited liquidity. A separate strategy may implement reinvestment, and its behavior needs to be distinguished from the base pool. Fee collection also differs from withdrawing the position's principal.

Is sending tokens directly to a pool address the same as adding liquidity?

A bare token transfer to a pool address does not create a managed liquidity position. Adding liquidity requires the appropriate contract calls and accounting through a supported interface or integration. Sending assets without those calls can leave them unrecoverable or exposed to other transactions. A pool contract is not an exchange deposit address that credits your personal account.

Can Uniswap support cancel a swap after it completes?

A completed onchain swap cannot be cancelled through Uniswap support. Signing or submitting a transaction can precede completion, but the settled exchange has already changed token balances. Any later exchange is a separate trade, with its own execution price and fees. Pending transactions and open signed orders have different cancellation rules from completed swaps.