Hi,
I’m trying to use Moralis.executeFunction(options); on a chain that’s not the current chain and it fails. Works if I change Metamask to the right chain. I can’t find that argument in the documentation but I see it is available on the MoralisWeb3.
Is there a way to specify the chain with Moralis.executeFunction() ?
options:
abi: [{…}]
chain: "0x4"
contractAddress: "0x9..."
functionName: "tokenURI"
params: {tokenId: '1'}
error: Error: Returned values aren't valid, did it run Out of Gas? You might also see this error if you are not using the correct ABI for the contract you are retrieving data from, requesting data from a block number that does not exist, or querying a node which is not fully synced. at