Hi,
I canât get the prices of some LP tokens listed on PancakeSwap v2.
Iâm getting this error message: âNo pools found with enough liquidity, to calculate the priceâ.
I use javascript code like this:
const lpTokens_usdPrice = (await axios.get(`https://deep-index.moralis.io/api/v2/erc20/${lpTokens_address}/price?chain=bsc&exchange=pancakeswap-v2`,{
headers: {
'x-api-key': process.env.MORALIS_API_KEY
}
})).data.usdPrice;
I tried it on the âtry it outâ Moralis Web3 API page, and I got the same error.
Here an example of some specific lp token contract addresses used:
0x007EC643C7Cc33a70C083fC305c283dd009C8b94 (GMT-USDC farm)
0x28BDb16b623176426305a70D8B475bE73Aca71f3 (USDT-ACH farm)
Thanks in advance for any help!