How SubWallet Swap Works
SubWallet’s swap feature:- Aggregates quotes from multiple DEXs and swap providers
- Finds the best rate for your trade
- Supports single-chain and cross-chain swaps
- Handles complex routes automatically for optimal pricing
Performing a Token Swap
Access the swap interface
Select the token to swap from
- Token name and symbol
- Your available balance
- The token’s blockchain network
Select the token to receive
Choose your account
- The tokens you want to swap
- Native tokens for gas fees
Enter the swap amount
- Fetch quotes from multiple providers
- Calculate the amount you’ll receive
- Display the exchange rate and price impact
Review the quote details
- Exchange rate: How many tokens you’ll receive per token swapped
- Price impact: How much your trade affects the market price
- Minimum received: Minimum amount guaranteed (accounting for slippage)
- Swap route: The path your swap will take (may involve multiple hops)
- Provider: The DEX or aggregator providing the best rate
- Estimated fee: Total transaction costs
Adjust slippage (optional)
- Low slippage (0.5-1%): Safer but may fail during high volatility
- Medium slippage (1-3%): Balanced option
- High slippage (3-5%+): More likely to succeed but higher risk of price deviation
Review alternative quotes (optional)
Accept terms of service
Approve token spending (if required)
- A token approval transaction will appear first
- Sign the approval transaction
- Wait for it to confirm
- Then the actual swap transaction will execute
Confirm the swap transaction
Swap Features
Quote Comparison
SubWallet aggregates quotes from multiple sources including:- Kyber Network
- Chainflip
- And other DEX aggregators
Swap Routes
For optimal pricing, SubWallet may route your swap through multiple pools:- Direct swap: Token A → Token B
- Multi-hop: Token A → Token X → Token B
Cross-Chain Swaps
SubWallet supports swapping tokens across different blockchains:Select tokens on different chains
Review cross-chain route
Understand fees and time
- Have higher fees (source chain fee + destination chain fee + bridge fee)
- Take longer to complete (minutes to hours)
- May have different slippage characteristics
Quote Refresh
Swap quotes are time-sensitive and refresh automatically:- Quotes expire after a set period (typically 30 seconds to 2 minutes)
- A countdown timer shows when the quote will refresh
- If idle for too long, you’ll be prompted to refresh before swapping
Advanced Settings
Slippage Tolerance
Slippage is the difference between the expected price and the actual execution price.Choose slippage tolerance
- 0.1-0.5%: Very low slippage (may fail frequently)
- 0.5-1%: Low slippage (good for stablecoins)
- 1-3%: Medium slippage (balanced)
- 3-5%+: High slippage (for volatile tokens or low liquidity)
Fee Token Selection
On some networks, you can choose which token to pay fees with:Select an alternative fee token
Understanding Swap Costs
Transaction Fees
Swap costs include:- Network gas fees: Cost to execute the transaction on the blockchain
- Swap protocol fees: Fees charged by the DEX or swap provider (typically 0.1-0.3%)
- Price impact: Market price movement due to your trade size
- Slippage: Potential difference between expected and actual price
Price Impact
Price impact shows how much your trade will move the market:- Less than 1%: Minimal impact
- 1-3%: Moderate impact
- 3-5%: High impact
- Greater than 5%: Very high impact (consider smaller trades)
Troubleshooting
No swap routes available
No swap routes available
- The token pair may not have liquidity
- One or both tokens may not be supported on available DEXs
- Try swapping to a more common token first (like ETH, DOT, or USDT)
Swap fails with 'Insufficient balance'
Swap fails with 'Insufficient balance'
- Enough tokens to swap
- Extra native tokens for gas fees
- Tokens for approval transaction (on first swap)
Quote expired error
Quote expired error
- The quote expires
- You need to refresh to get new rates
Transaction failed due to slippage
Transaction failed due to slippage
- The transaction reverts to protect you from bad rates
- You still pay gas fees for the failed transaction
Received less than expected
Received less than expected
- Price impact
- Slippage
- Protocol fees
- High price impact
- Market volatility during execution
- Front-running (rare)
Approval transaction required
Approval transaction required
- First transaction: Approve token spending
- Second transaction: Execute the swap
Swap Providers
SubWallet integrates with multiple swap providers:Kyber Network
- Aggregates liquidity from multiple DEXs
- Supports Ethereum and EVM chains
- Typically offers competitive rates
Chainflip
- Cross-chain swaps without wrapped tokens
- Supports Bitcoin, Ethereum, Polkadot ecosystem
- Fixed slippage model
Other Providers
- SubWallet continues to add more providers for better rates and coverage
Best Practices
Security Considerations
FAQs
What's the difference between swap and send?
What's the difference between swap and send?
- Swap: Exchange one token for another (e.g., ETH → USDT)
- Send: Transfer tokens to another address (no exchange)
Can I cancel a swap after submitting?
Can I cancel a swap after submitting?
Why do I need to approve tokens?
Why do I need to approve tokens?
How long does a swap take?
How long does a swap take?
- Same-chain swaps: Seconds to minutes (depends on network)
- Cross-chain swaps: Minutes to hours (depends on bridge)