Check if the current provider supports snaps by calling wallet_getSnaps.
wallet_getSnaps
The provider to use to check for snaps support. Defaults to window.ethereum.
window.ethereum
True if the provider supports snaps, false otherwise.
Check if the current provider supports snaps by calling
wallet_getSnaps.