Closed minichris closed 5 months ago
Hello @minichris,
There is a mistake in your code:
...
// New Transaction object with data
Transaction transaction = new Transaction {
....
};
// New _empty_ Transaction object used instead of the one from above
EthSendTransaction request = new EthSendTransaction(new Transaction());
Ah, thank you, that was it!
I'm developing a dApp and want to send a request to the user's wallet for them to send a transaction. I'm using WalletConnectSharp 2.2.0. I'm trying to connect with MetaMask v7.14.0 (1242) on Android.
When the code gets to sending the transaction at the end, it will throw the error "User disapproved requested chains", even though the user is never prompted to approve or disapprove the chain. This happens for both having the ProposedNamespace be a RequiredNamespace or an OptionalNamespace.