• Get a snap

    Parameters

    • provider: EIP1193Provider

      The provider to get the snap from

    • 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<Snap | undefined>