I followed your video(https://youtu.be/90dMpTlPNZ0) to generate the token price chart and it work only when we use to pass chain as βbscβ, with eth it give same block for every different date which results in same price for every date too
2nd issue
I am not getting the reaponse when i am trying to get the blocks or price for the below token
token name=NFTArt.Finance
address=0xf7844cb890f4c339c497aeab599abdc3c874b67a
token name= CleanOcean
and many other
i am using the same method explained in the video and it work for the coin mentioned in etherscan but not for the coin of bscscan
let blocks1=await Promise.all(dates1.map(async (e,i)=>
await Moralis.Web3API.native.getDateToBlock({chain: "bsc",date:e})
))
let prices1=await Promise.all(blocks1.map(async (e,i)=>
await Moralis.Web3API.token.getTokenPrice({address: addrs,to_block: e.block})
))
i tried with both chain eth and bsc but not getting response for many token and i mentioned the two token already
PLease assist me on in this ASAP