Links
Comment on page

Customization

Rango Widget Config
Here you could explore list of all possible configurations for the widget supported at the moment.
Property
Description
apiKey
The API key used to communicate with Rango API.
affiliateRef
The affiliate reference is used to set and track referrals or affiliations for the dApps.
amount
The default input amount.
from
Default blockchain, token selected and a filter for supported blockchains and tokens for the source blockchains and tokens.
to
Default blockchain, token selected and a filter for supported blockchains and tokens for the destination blockchains and tokens.
liquiditySources
Filter supported dexes and bridges for the routing based on your needs.
wallets
Use this if you want to filter supported wallets to some limited ones.
multiWallets
A boolean value that indicates whether the widget should allow the user to select multiple wallets or not.
theme
It is used to specify the visual theme of the widget. It is of type WidgetTheme, which is an interface that defines the various properties of the theme, such as colors, fonts, and others.