Proposed legislation that would allow cities and towns in Massachusetts to impose a fee of up to two per cent on certain real estate sales to support affordable housing is among two dozen bills scheduled for a virtual hearing next week.

The legislature’s Joint Committee on Housing will convene at 11 a.m. on Tuesday to consider a variety of bills to address housing affordability, including two identical bills originating in the House and Senate respectively, H.1377 and S.828.

The bills, co-sponsored by Sen. Julian Cyr and Rep. Dylan Fernandes, are similar to bills that died in committee last year. But the new bills, presented by Sen. Joanne M. Comerford of Northampton and Rep. Mike Connolly of Cambridge, would give cities and towns more flexibility in how to administer the fee. They also have additional co-sponsors — 27 in the House and 19 in the Senate.

Among other things, the current bills would allow municipalities to assess a fee of up to 6 per cent on certain “speculative sales,” that is, where someone sells a house within year of buying it. They also would exempt from the fee transfers for less than the state median sales price of a single family home, about $500,000, or allow the city or town to set a higher threshold.

Written testimony can be emailed to Luke O’Roark at luke.oroark@mahouse.gov. To register to testify, you must complete this form by 5 p.m. on Friday, Oct. 22. Registrants will receive further instruction on how to participate.