Hamas accepted a two state solution in their 2017 charter update.
All Palestinian resistance and political groups signed the Beijing Declaration last year accepting a two state solution.
Meanwhile, the Likud party charter does not accept a two state solution and Israeli cabinet ministers regularly call for the erasure of all Palestinians.