Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am looking for a way to check if the browser has metamask and a specific snap installed before showing a component in the UI or an app.
I stumbled upon this documentation.
But each time I am trying to use:
method: 'wallet_getSnaps'
; I got an error code-32601
whether the user wallet is connected or not, unlock or not.Do you know if 'wallet_getSnaps' is desprecated? And what is the current best solution to check the snaps installed on a user wallet?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions