Skip to main content
You can control which 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 and Receive 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

Provides a custom list of 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

Controls whether community tokens are included in the main token list. Defaults to true.
  • true (default): Community tokens are included in the main token list and mixed with whitelist tokens from swap.coffee
  • false: 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.