Swap

Learn how crypto swaps work, how they differ from traditional trading, and what users should know about rates, fees, and slippage.

A swap, in the crypto context, is the direct exchange of one cryptocurrency or token for another in a single transaction, without first converting to fiat currency.
Swaps are commonly used to rebalance a portfolio, move into or out of stablecoins, access different ecosystems, or prepare funds for specific applications (for example, DeFi, NFTs, or staking). They are often offered inside wallets, decentralized exchanges (DEXs), or integrated services within broader platforms.

How a crypto swap works

A swap abstracts away much of the complexity of traditional order-book trading and presents a simple “from → to” flow.

  1. Select assets
    The user chooses which asset they want to swap from (for example, ETH) and which asset they want to receive (for example, USDC).
  2. Enter amount
    The user specifies how much of the “from” asset they want to swap. The interface shows an estimated amount of the “to” asset they will receive.
  3. Review quote
    The app displays:

    • The exchange rate.
    • Estimated network fees.
    • Any service or protocol fee.
    • The minimum amount the user will receive (to account for slippage).
  4. Confirm and sign
    The user confirms the swap and signs the transaction in their wallet.
  5. Execution and settlement
    The swap is executed via a smart contract, liquidity pool, or integrated service. Once the blockchain confirms the transaction, the new tokens appear in the user’s wallet.

From the user’s perspective, it feels like a single action: “I send asset A, I receive asset B.”

Where swaps happen

Swaps can be offered through different types of interfaces and infrastructure.

In-wallet swaps

Many non-custodial wallets include a built-in swap feature. The wallet:

  • Aggregates prices from multiple liquidity sources or providers.
  • Shows a single quote to the user.
  • Routes the transaction through the best available path.

The user stays inside the wallet interface and does not need to visit an external exchange.

Decentralized exchanges (DEXs)

DEXs enable swaps directly on-chain through smart contracts and liquidity pools. Common models include:

  • Automated market makers (AMMs) — liquidity pools where prices adjust algorithmically based on supply and demand.
  • Aggregators — services that split a swap across multiple DEXs and pools to improve the effective rate.

Users connect their wallet, approve the token (if required), and execute the swap.

Integrated services and brokers

Some platforms, including custodial services, brokers, or card-related apps, offer swap-like functionality where:

  • The platform quotes a rate and executes the conversion internally or via partners.
  • The user may not interact directly with on-chain pools.
  • The experience is similar (select from/to, confirm), but the backend may differ.

In all cases, the core idea remains: direct crypto-to-crypto conversion without an explicit fiat step.

Swap vs trade

“Swap” and “trade” are sometimes used interchangeably, but they often imply different experiences.

Feature Swap Trade (spot trading on an exchange)
Typical flow Direct token-to-token exchange Buy/sell via order book or market order
Fiat involvement Usually no fiat step May involve fiat pairs or fiat as an intermediate
Complexity Simple, few steps More options (limit orders, charts, order types)
Execution Often via liquidity pools or aggregated routes Via order book matching or internal liquidity
Typical user Users who want quick conversion Active traders seeking price control or strategies

A swap is optimised for convenience and speed. Trading is optimised for control, advanced strategies, and deeper market interaction.

Pricing, fees, and slippage

Swaps have costs, even if they feel like a single click.

Exchange rate and spread

The rate shown for a swap is not the raw mid-market price. It typically includes:

  • The underlying market or pool price.
  • A spread or margin built into the quote by the liquidity provider or service.

This means the effective price may be slightly worse than the reference market price.

Fees

Common fee components include:

  • Network (gas) fees — paid to the blockchain for processing the transaction.
  • Protocol or pool fees — a percentage taken by the DEX or liquidity pool.
  • Service fees — charged by the wallet, aggregator, or platform offering the swap.

These may be shown separately or embedded in the quoted rate.

Slippage

Slippage is the difference between the expected price and the actual execution price, caused by:

  • Price movement during transaction execution.
  • Limited liquidity in the pool or route.
  • Large trade size relative to available liquidity.

Many interfaces let users set a “slippage tolerance,” which defines the worst acceptable rate. If the rate moves beyond this, the transaction may fail or revert.

Cross-chain swaps and bridges

Swaps can occur:

  • Within a single chain — for example, swapping ETH for USDC on Ethereum.
  • Across chains — for example, swapping ETH on Ethereum for SOL on Solana, or USDC on Ethereum for USDC on another network.

Cross-chain swaps often involve:

  • A bridge or multi-chain routing protocol.
  • Locking or burning the asset on the source chain.
  • Minting or releasing the equivalent on the destination chain.

From the user’s perspective, it still looks like “from asset A on chain X to asset B on chain Y,” but the underlying mechanics are more complex and may carry additional risks (bridge risk, finality time, etc.).

Risks and considerations

Swaps are convenient but not risk-free.

Smart-contract and protocol risk

Swaps executed via smart contracts depend on the correctness and security of those contracts. Bugs, exploits, or governance changes can affect funds.

Liquidity and execution risk

Low liquidity can lead to:

  • Worse rates.
  • Higher slippage.
  • Failed transactions if the price moves too much before confirmation.

Phishing and fake tokens

Users may encounter:

  • Fake tokens with similar names or symbols.
  • Malicious contracts that mimic legitimate swap interfaces.
  • Phishing sites that look like known DEXs or wallets.

Verifying contract addresses, using trusted interfaces, and double-checking token details can reduce (but not eliminate) these risks.

Network and fee risk

During congestion:

  • Network fees can spike.
  • Transactions may take longer to confirm.
  • Users may need to adjust gas settings or retry transactions.

Swaps and card products

In a crypto card context, swaps may be relevant in several ways:

  • Users may swap assets before using them as collateral (for example, from a volatile token to a stablecoin accepted by the programme).
  • A card app may offer in-app swaps to convert crypto into fiat or stablecoins for spending or repayment.
  • Users may rebalance their portfolio (for example, from one token to another) while managing overall risk relative to their credit line.

Product documentation should clarify:

  • Which assets can be swapped within the app.
  • Whether swaps are on-chain, via partners, or internal conversions.
  • How pricing, fees, and slippage are handled.
  • How swapped assets affect collateral eligibility and risk metrics.
Spend your
crypto.
Don’t sell it
Join the members who figured it out.