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

    Function checkIsFlask

    • Check if the current provider is a Flask provider by checking the client version.

      Parameters

      • provider: MetaMaskInpageProvider | null

        The provider to use to check for Flask. Defaults to window.ethereum.

      Returns Promise<boolean>

      True if the provider is a Flask provider, false otherwise.