All I did was:
import Moralis from âmoralis-v1â
const query = new Moralis.Query(âBscTransactionsâ);
query.containedIn(âto_addressâ, n);
//where n is an array of smart contract addresses
const results = await query.find();
I get an error when query.find is called. Even if I do not put the query.containedIn parameters, I still get the same error.