Hangzhou's purchase restriction policy is: Hangzhou local hukou can buy two houses in Hangzhou as a family unit, and singles can buy a house. The foreign household registration is in Hangzhou, and you can buy a house in Hangzhou after paying social security for two years in three years.
Tonglu, Chun 'an, Lin 'an and Jiande are registered in Hangzhou, and they don't need to pay social security for more than two years within three years in Hangzhou.