Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (eachToken.networkId === 'bsc') chainId = 'binance-smart-chain';
- if (eachToken.networkId === 'eth') chainId = 'ethereum';
- if (eachToken.networkId === 'hecochain') chainId = 'huobi-token';
- let route = `https://api.coingecko.com/api/v3/coins/${chainId}/contract/${eachToken.tokenAddress.toLowerCase()}`;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement