• Check if a snap is connected, enabled and not blocked

    Parameters

    • provider: EIP1193Provider

      The provider to check for snaps

    • snapId: string = 'npm:filsnap'

      Snap ID to check for. Defaults to npm:filsnap.

    • snapVersion: string = '*'

      Snap version to check for. Defaults to * which matches any version.

    Returns Promise<boolean>