Get token list from BSC

Hi,

In the moralis tutorial: https://moralis.io/how-to-code-token-price-charts/

there is a way to get all the available ETH-based tokens using:
let response = await fetch("https://gateway.ipfs.io/ipns/tokens.uniswap.org");

and this we are showing in a dropdown for a user to select.

Similar to this, is there a way to fetch BSC-based tokens?

Got it sorted using this API:

https://api.pancakeswap.info/api/v2/tokens

2 Likes