Troubleshooting
This guide covers common issues when integrating the Intents Swap Widget.
If you can't find an answer here, please open an issue or reach out to the team.
Table of Contents
Balance Loading Issues
Dependency Conflicts
Wallet Connection Problems
Configuration Errors
Balance Loading Issues
Balances load infinitely
Causes & Solutions:
Missing API key - The widget will try to use a set of RPCs by default, but Alchemy is more reliable and you can have better control with Alchemy API key.
<SwapWidget alchemyApiKey="your-alchemy-api-key" // ...other props />API rate limits - Alchemy free tier has request limits. Check your Alchemy dashboard for quota usage.
TON balances not loading - TON requires a separate API key.
<SwapWidget tonCenterApiKey="your-toncenter-api-key" // ...other props />RPC endpoint issues - The widget retries failed RPC calls twice before giving up. If balances still fail, check network connectivity and RPC availability.
Dependency Conflicts
Conflicting package versions
Cause: The widget uses several libraries that your project may also use. When versions differ, bundlers may include multiple versions causing conflicts.
Solution: Add resolutions to your package.json to lock versions, example:
For Yarn, resolutions work as shown above. For npm or bun, use overrides instead:
Please refer to your package manager documentation for ways of doing this:
Wallet Connection Problems
Wallet not connecting
Solutions:
Check provider configuration - Ensure you're passing the correct provider for your account type:
Add the matching network plugin - For EVM, Solana, and Stellar swaps, you also need to install the relevant sibling package and register its network plugin via the
pluginsproperty.
Errors like No EVM transfer configured mean the plugin is missing:
Note that NEAR is built into widget core and does not need a plugin.
Verify
walletSupportedChains- We will attempt to establish the supported chains based on the format of the wallet address, however, you may want to include chains your wallet supports:
Configuration Errors
No styles/broken design
Cause: Missing CSS imports.
Solution: Import required CSS files:
Check our detailed theming documentation.
Tailwind & CSS reset
If you use global CSS reset e.g.:
It will break widget's styles due to Tailwind layering system. If you face that issue and see no paddings, margins or other style issues in a widget please scope your CSS resetting styles with a @layer base as below:
Still Having Issues?
If this guide didn't solve your problem:
Check the GitHub Issues for similar problems
Open a new issue with:
Widget version
Your configuration (remove sensitive keys)
Error messages from the console
Steps to reproduce
Last updated
