Hi guys,
I was attempting to do use the useWeb3ExecuteFunction()
react-moralis hook but ran into the error: Cannot read properties of undefined (reading ācallā)
So I decided to try and circumvent this issue with useMoralisWeb3Api()
and runContractFunction(options)
The call with the options + params etc. seems to work with this method but now I am getting {code: 141, error: 'Web3 API error while calling /:address/function'}
as a error
Any ideas? I cant seem to find much information on this error
Some details:
- Its on the Kovan testnet, not a localchain
- Iāve tried it on two different Moralis server instances
Versions:
āmoralisā: ā^0.0.181ā,
āreact-moralisā: ā^0.3.11ā,