To use web3 access, moralisSecret is required

How do I get past this?

how did you get to that error?


.env file

and .env file infoScreen Shot 2022-02-19 at 9.46.21 PM

that is only a warning, you can ignore it

If I read from ETH based BAYC, this code runs
If I point to Polygon based collection, its not working

Is there parameter I need to specify for chain?

usually it is a parameter named chain for that

1 Like