I make a marketplace to buy NFT. Itโs working fine on PC browser but on mobile it show unknown method and I can not confirm. I already set metamask on mobile at ganache network (can send and receive). I already authenticate with walletconnect and web3 is enabled also.
const contractProcessor = useWeb3ExecuteFunction();
const ops = {
contractAddress: MARKETPLACE_CONTRACT_ADDRESS,
functionName: "buyItem",
abi: marketplaceContractAbi,
params : {
id: params.uid
},
msgValue: params.askingPrice
};
await contractProcessor.fetch({
params: ops,
onSuccess: () => {
console.log("success");
},
onError: (error) => {
console.log("error", error);
}
});
Could you help me check what I missing?