You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to use the sendCustomRequest and the method is wallet_switchEthereumChain to request to switch the network on the metamask mobile, when I press switch network button on the metamask app it return me this error on my dApp JSON RPC response format is invalid. Here is my sample code
I tried to use the
sendCustomRequest
and the method iswallet_switchEthereumChain
to request to switch the network on the metamask mobile, when I press switch network button on the metamask app it return me this error on my dAppJSON RPC response format is invalid
. Here is my sample codeI tried this on the metamask API playground and it works fine.
https://metamask.github.io/api-playground/api-documentation/#wallet_switchEthereumChain
The text was updated successfully, but these errors were encountered: