tokens appear
in the widget UI by using the following optional parameters.
☝️ Important — All tokens (Jettons)
passed to either parameter must be listed on swap.coffee to be recognized and rendered correctly in the widget.
sendReceiveTokenAddresses
- Defines a custom list of token addresses (Jettons) that should be available in the
Send
andReceive
sections of the widget. - Use this when you want to set a
unique pair
of tokens that users can swap from or to.
🚧 Warning — If you pass an invalid token address, the widget and pair will not render correctly.
limitedJettonLists
Jetton addresses
that will be used to completely override the default token list in the widget.
🛑 This setting completely replaces the default token list — use it when you want a hard limit on what’s shown.
Default Assets
By default, the widget always displays assets:- TON
(Toncoin)
- USDT
(Tether USDT on TON)
- CES
(swap.coffee)
These are included automatically, even when no configuration is provided.
Search for Any Token
Even if a token is not in the list, users can still discover it using the built-in token search.✅ As long as the token is listed on swap.coffee, it can be found.
enableCommunityTokens
true
.
true
(default): Community tokens are included in the main token list and mixed with whitelist tokens from swap.coffeefalse
: Only verified or imported tokens will be shown, excluding community tokens
📝 Note — When disabled, users will only see tokens that have been officially verified or manually imported, providing a more curated token selection.