Hi,
I tried to run the Moralis Execute Function and it always works well. However, today I ran into an error that said âNetwork Errorâ. I am not sure what happened. My code looks like the below:
const Moralis = require("moralis/node");
await Moralis.start({serverUrl,appId,moralisSecret});
let options4 = {
contractAddress:'0x987ed22a5d80673093ea89258100af593ef31608',
functionName: "ownerOf",
abi: abiOwnerOf,
params: { tokenId: '219' },
};
NFTs = await Moralis.executeFunction(options4);
And here is the error I get:
reason: âcould not detect networkâ,
code: âNETWORK_ERRORâ,
event: ânoNetworkâ
Is this because the Moralis Execute Function has changed?
Thanks.