Swaps

Dfns supports swapping via multiple providers to let you execute token swaps across supported EVM-chains. Below is an overview of the swap providers, what they are, and which chains each supports.

Provider
Description
Supported Chains

UniswapClassic

The widely adopted Uniswap v2/v3/v4 architecture accessed through the Universal Router. It provides deterministic, on-chain execution with deep liquidity across many ecosystems

Ethereum Mainnet, BNB Smart Chain, Polygon, zkSync, Base, Arbitrum, Celo, Avalanche, Worldchain, etc. Check the full list herearrow-up-right

UniswapX

The latest version of Uniswap’s swap protocol focused on efficient routing, improved UX, and better rates.

Ethereum Mainnet, Arbitrum, Base and Unichain Check the full list herearrow-up-right

Flow Overview

  1. Request a Quote: Retrieve estimated output amounts for a given swap (input token and amount, output token, provider and slippage tolerance).

  2. Submit the swap intent: Submit a request to Swap, based on the quoteId

  3. Approve policies: If using Wallet:Sign policies, review the transactions and approve them, due to the nature of a Swap transaction, you might be required to approve up to 4 signatures/transactions.

  4. Track Status: Monitor the Swap execution.

Last updated