Limiting assets in the widget
By default all assets are displayed when the widget is loaded. However, you can limit available cryptocurrencies so that only one or several are displayed in the ‘You get’ drop-down list.
- Default view with all assets

- Displaying one asset can be useful for single currency wallets

Pass the following data as in the example to load the Widget with a single cryptocurrency:
commodity: 'XTZ',
network: 'tezos',
commodities: JSON.stringify([
{
commodity: "XTZ",
network: "tezos",
},
]),
- You can show several commodities as well

In order to do so, pass the following data to Wert upon initialisation:
commodity: 'BTC',
network: 'bitcoin',
commodities: JSON.stringify([
{
commodity: "BTC",
network: "bitcoin",
},
{
commodity: "ETH",
network: "ethereum",
},
]),
Make sure to pass correct ‘commodity’ and ‘network’ options for this feature to work. You can find these in the List of supported coins and blockchains
Updated 10 days ago