I have this error when i try to executeFunction Mint, someone can help?
// MINT FUNCTION
const mint = async () => {
const options = {
contractAddress: ContractAddress,
functionName: âmintâ,
abi: Abi,
msgValue: ethers.utils.parseEther((0.05 * mintAmount).toString()).toString(),
};
console.log(options);
const transaction = await Moralis.executeFunction(options);
};
THE ERROR IN GOOGLE CHROM CONSOLE:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading âcallâ)
at Function. (MoralisWeb3.js:1739:1)
at tryCatch (runtime.js:63:1)
at Generator.invoke [as _invoke] (runtime.js:294:1)
at Generator.next (runtime.js:119:1)
at asyncGeneratorStep (asyncToGenerator.js:5:1)
at _next (asyncToGenerator.js:27:1)
at asyncToGenerator.js:34:1
at new Promise ()
at new Wrapper (export.js:18:1)
at Function. (asyncToGenerator.js:23:1)