Swap DAI
Dai on Ethereum, BNB Chain, Polygon, Arbitrum and 4 more, swapped natively to and from BTC, ETH, SOL, stablecoins and thousands of other assets. Try it below, or add it to your app with one API call.
About Dai
Dai is a decentralized stablecoin soft-pegged to the US dollar, created by MakerDAO and minted against collateral locked in the protocol's vaults. In 2024 Maker rebranded as Sky and launched USDS as its successor stablecoin; DAI can be upgraded to USDS 1:1 but remains in circulation and is widely used across DeFi.
DAI is natively issued on Ethereum. On the other chains listed it is a bridged copy, for example Binance-Peg DAI on BNB Chain and DAI.e on Avalanche, plus copies moved through the canonical bridges of Arbitrum, Optimism, Base and Polygon. On Gnosis Chain, DAI sent through the xDai bridge becomes xDAI, the chain's native gas token.
Official website →DAI on 8 chains
Use the identifier for the chain your user holds DAI on as sellAsset or buyAsset.
| Chain | SwapKit identifier |
|---|---|
| Ethereum18 decimals | ETH.DAI-0x6B175474E89094C44Da98b954EedeAC495271d0F |
| BNB Chain18 decimals | BSC.DAI-0x1af3f329e8be154074d8769d1ffa4ee058b1dbc3 |
| Polygon18 decimals | POL.DAI-0x8f3cf7ad23cd3cadbd9735aff958023239c6a063 |
| Arbitrum18 decimals | ARB.DAI-0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1 |
| AvalancheDAI.e · 18 decimals | AVAX.DAI.e-0xd586e7f844cea2f87f50152665bcbc2c279d8d70 |
| Base18 decimals | BASE.DAI-0x50c5725949a6f0c72e6c4a641f24049a917db0cb |
| Gnosis18 decimals | GNO.DAI-0x44fa8e6f47987339850636f88629646662444217 |
| Optimism18 decimals | OP.DAI-0xda10009cbd5d07dd0cecc66161fc93d7c9000da1 |
Popular DAI swaps
What SwapKit users most often swap DAI with, in either direction.
Add DAI swaps to your app
Three ways in. The examples use DAI on Ethereum; swap in another chain's identifier from the table above, and any asset as the other side.
REST API
curl -X POST "https://api.swapkit.dev/v3/quote" \
-H "Content-Type: application/json" \
-H "x-api-key: $SWAPKIT_API_KEY" \
-d '{"sellAsset":"ETH.DAI-0x6B175474E89094C44Da98b954EedeAC495271d0F","buyAsset":"BTC.BTC","sellAmount":"100","slippage":3}' TypeScript SDK
import { createSwapKit, SwapKitApi } from "@swapkit/sdk";
const swapKit = createSwapKit({ config: { apiKeys: { swapKit: apiKey } } });
// …connect the user's wallet, then:
const { routes } = await SwapKitApi.getSwapQuote({
sellAsset: "ETH.DAI-0x6B175474E89094C44Da98b954EedeAC495271d0F",
buyAsset: "BTC.BTC",
sellAmount: "100",
sourceAddress: "USER_SOURCE_ADDRESS",
destinationAddress: "USER_DESTINATION_ADDRESS",
});
const txHash = await swapKit.swap({ route: routes[0] }); Swap widget
<script type="module" src="https://cdn.swapkit.dev/widget/latest/swapkit-widget.js"></script>
<swapkit-widget
widget-id="YOUR_WIDGET_ID"
widget-key="YOUR_WIDGET_KEY"
input-asset="ETH.DAI-0x6B175474E89094C44Da98b954EedeAC495271d0F"
output-asset="BTC.BTC"
></swapkit-widget> Questions
Is DAI the same as USDS?
No. USDS is the newer stablecoin from the Sky protocol (formerly MakerDAO). DAI can be converted to USDS and back at a 1:1 rate, but the two are separate tokens with separate contracts.
Which chains can I swap DAI on?
Ethereum, BNB Chain, Polygon, Arbitrum, Avalanche, Base, Gnosis, Optimism. Each has its own SwapKit identifier, listed above; use the one for the chain your user holds DAI on.
How do I swap DAI to BTC?
Request a quote with ETH.DAI-0x6B175474E89094C44Da98b954EedeAC495271d0F as sellAsset and BTC.BTC as buyAsset, pick a route, then build the transaction with /v3/swap and have the user sign it in their own wallet.
Can I swap DAI to native Bitcoin?
Yes. Quote DAI to BTC.BTC and the user receives native BTC on the Bitcoin network, not a wrapped token.
Does SwapKit hold my DAI?
No. SwapKit is non-custodial: the user signs every transaction in their own wallet and the payout goes straight to their address.
Ship cross-chain swaps this week.
One integration for 10,000+ assets across 30+ chains, with limit orders and Hyperliquid deposits included. Non-custodial by design.