FAQ
Frequently asked questions about DexAggregator API
General Questions
What is DexAggregator?
Is it free to use?
Which blockchains are supported?
Which DEXes are supported?
API Questions
How do I get started?
Do I need an API key?
What are the rate limits?
How long are routes valid?
Can I cache routes?
Swap Questions
What is slippage tolerance?
How is minAmountOut calculated?
What happens if I receive less than minAmountOut?
What are the gas costs?
Do I need to approve tokens?
Technical Questions
What is executorData?
Can I decode executorData?
What is the deadline parameter?
How do I generate orderId?
Error Handling
"No route found" error
"KyberSwap API error"
"Gas estimation failed"
"Transaction failed" after execution
Integration Questions
Can I use this in a React app?
Does it work with Wagmi/RainbowKit?
Can I integrate without ethers.js?
Do I need to run my own server?
Smart Contract Questions
Where are the smart contracts?
Are the contracts audited?
Can I add custom DEX adapters?
What is the difference between Aggregator and Executor?
Deployment Questions
How do I deploy my own instance?
What are the system requirements?
Can I deploy on Docker?
How do I configure for a new chain?
Performance Questions
How fast is the API?
Can I cache contract addresses?
Should I use connection pooling?
How can I reduce latency?
Security Questions
Is it safe to use?
Should I validate responses?
What about MEV (front-running)?
How do I secure my API endpoint?
Troubleshooting
Logs show "connection refused"
Swaps keep failing on-chain
API returns empty routes
Still Have Questions?
Last updated