const requestOptions = {
method: 'GET',
headers: { 'accept': 'application/json', 'X-API-Key' : 'my key' },
};
fetch("https://deep-index.moralis.io/api/v2/erc20/0x292bb969....b45/price?chain=bsc", requestOptions)
.then(res => res.json())
.then(
(result) => {
console.log(result);
},
(error) => {
console.log(error);
}
)
It’s alway return {message: ‘No pools found with enough liquidity, to calculate the price’}.
I test on moralis is ok but fetch in my website is not.
please help