Overview
Monei integrates with leading DEX aggregators to provide the best swap rates across multiple decentralized exchanges. This guide covers token swaps on EVM networks. What you’ll learn:- Get swap quotes and rates
- Swap native tokens to ERC-20 tokens
- Swap ERC-20 to ERC-20 tokens
- Swap ERC-20 tokens back to native
- Price impact and slippage
- Gas optimization for swaps
Swap Types
Native → Token
Swap ETH/BNB/MATIC to any ERC-20 token
Token → Token
Swap between any two ERC-20 tokens
Token → Native
Swap ERC-20 tokens back to native currency
Get Swap Quote
Always get a quote before executing a swap to see the exchange rate and estimated output.Native to Token Quote
Token to Token Quote
Token to Native Quote
Execute Swap
Swap Native to Token
Swap Token to Token
Swap Token to Native
Understanding Quote Details
Key Quote Fields
| Field | Description |
|---|---|
quoteId | Unique identifier for this quote (valid for ~5 minutes) |
rate | Exchange rate (1 input token = X output tokens) |
reverseRate | Reverse rate (1 output token = Y input tokens) |
toAmount | Expected output amount |
minToAmount | Minimum output after slippage (usually 0.5%) |
priceImpact | How much this trade affects the market price |
estimatedGas | Estimated gas cost in native token |
estimatedGasUsd | Estimated gas cost in USD |
liquidityAvailable | Whether sufficient liquidity exists |
expiryTimestamp | When this quote expires (Unix timestamp) |
Price Impact
Price impact shows how much your trade will move the market price:| Price Impact | Interpretation | Action |
|---|---|---|
| < 1% | Low impact | Safe to proceed |
| 1% - 3% | Moderate impact | Consider splitting trade |
| 3% - 5% | High impact | Warning recommended |
| > 5% | Very high impact | Split into smaller trades |
Slippage Protection
Slippage is the difference between expected and actual output amounts. Default Slippage: 0.5% (configurable)| Market Condition | Recommended Slippage |
|---|---|
| Stablecoin swaps | 0.1% - 0.3% |
| Normal volatility | 0.5% - 1.0% |
| High volatility | 1.0% - 3.0% |
| Very low liquidity | 3.0% - 5.0% |
Gas Optimization
Network Comparison for Swaps
| Network | Typical Swap Gas | USD Cost | Best For |
|---|---|---|---|
| Polygon | ~200,000 gas | 0.20 | Small/frequent swaps |
| BSC | ~180,000 gas | 2.00 | Medium swaps |
| Base | ~150,000 gas | 3.00 | Fast execution |
| Arbitrum | ~200,000 gas | 5.00 | Balanced cost/speed |
| Optimism | ~200,000 gas | 3.00 | L2 efficiency |
| Ethereum | ~150,000 gas | 100 | Large swaps only |
Optimize Swap Costs
Common Token Pairs
Stablecoin Swaps (BSC)
- USDT ↔ USDC
- BNB ↔ USDT
- USDT ↔ BNB
Best Practices
Always Get Quote
Get fresh quote before each swap (quotes expire in ~5 min)
Check Price Impact
Avoid swaps with high price impact (>5%)
Set Slippage
Use appropriate slippage for market conditions
Monitor Gas
Factor gas costs into swap profitability
Use Cheap Networks
Polygon/BSC for small swaps, Ethereum for large
Test Small First
Test with small amount before large swaps
Troubleshooting
Swap Failed - Slippage Exceeded
Swap Failed - Slippage Exceeded
Error: Transaction reverted due to slippageCause: Actual output fell below minimum due to price movementSolution:
- Increase slippage tolerance
- Get fresh quote
- Split into smaller trades
- Try during less volatile periods
Insufficient Liquidity
Insufficient Liquidity
Error: Not enough liquidity for swapSolutions:
- Reduce swap amount
- Try different network
- Use more liquid token pairs (USDT/USDC)
- Check DEX liquidity on explorer
Quote Expired
Quote Expired
Error: Quote ID expired or invalidCause: Quotes are valid for ~5 minutesSolution:
- Get fresh quote before swapping
- Execute swap immediately after quote
- Don’t reuse old quotes
High Price Impact
High Price Impact
Warning: Price impact > 5%Recommendations:
- Split into multiple smaller swaps
- Use different network with more liquidity
- Wait for better liquidity
- Consider limit orders (if available)
Next Steps
Wallet Operations
Manage your EVM wallet
Transactions
Learn about EVM transactions
Solana Swaps
Swap tokens on Solana
Networks
Explore supported networks

