@wharfkit/wallet-plugin-metamask - v4.0.2
    Preparing search index...

    Function getSnapsProvider

    • Get a provider that supports snaps. This will loop through all the detected providers and return the first one that supports snaps.

      Returns Promise<MetaMaskInpageProvider | null>

      The provider, or null if no provider supports snaps.