Hi,
I am using WalletConnect as a wallet and cannot seem to get a transaction response. I am currently using react and the response is triggered upon a successful MetaMask transaction but not for WalletConnect using the same code:
const web3 = (ifWalletConnect ? await Moralis.enableWeb3({ provider: 'walletconnect' }) : new Web3(window.ethereum))
const CollectionContract = new web3.eth.Contract(ABI, contractAddress);
CollectionContract.methods.mintToken(mintAmount)
.send({
from: account,
value: valueAmount,
})
.then((txHash) => {
console.log(txHash);)
})
.catch((error) => {
console.error(error);
});
So everything works as it should but I donβt get anything returned after a successful transaction, only for walletconnect.