GET the list of Supported Tokens
Get the list of Supported Tokens
- Web
- Flutter
final tokenList = await fuseSDK.tradeModule.fetchTokens();
console.log(`Tokens: ${tokenList.length}`);
final tokensData = await fuseSDK.tradeModule.fetchTokens();
tokensData.pick(
onData: (List<TokenDetails> tokens) {
// Do you magic here
},
onError: (err) {
// Handle errors
},
);