Creating DEX with only selected Tokens

Hi there. I am trying to create the DEX following the instructions on the youtube video. Instead of pulling all available tokens am i able to specify specific tokens? I kind of guess modifications need to be made to the below code. But as i am a total beginner i do not know what should be changed

async function listAvailableTokens(){

const result = await Moralis.Plugins.oneInch.getSupportedTokens({

chain: 'eth', // The blockchain you want to use (eth/bsc/polygon)

    

  });

tokens = result.tokens;

remove all tokens you dont want to support from the token list

Thanks Ivan. Real stupid question but where do I access the token list?

Hey @iwong

Please take a look at 1inch Plugin docs

async function getSupportedTokens() {
  const tokens = await Moralis.Plugins.oneInch.getSupportedTokens({
    chain: 'bsc', // The blockchain you want to use (eth/bsc/polygon)
  });
  console.log(tokens);
}