1: \begin{abstract}
2: We present a fast spectral Galerkin scheme for the discretization of
3: boundary integral equations arising from two-dimensional Helmholtz transmission problems in
4: multi-layered periodic structures or gratings. Employing suitably parametrized Fourier basis and excluding Rayleigh-Wood anomalies,
5: we rigorously establish the well-posedness of both continuous and discrete
6: problems, and prove super-algebraic error convergence rates for the proposed scheme. Through several numerical examples, we confirm our findings and show performances competitive to those attained via Nystr\"om methods.
7: \end{abstract}
8: