Note: a lot of flyback-style transformers are setup to step down the AC voltage 1/10th (12V in 120VAC, 24V in 240VAC) because transformers are cheap/abundant for that. It’s cheaper often to put a buck converter that takes any voltage from 12-24V and convert it to a fixed required voltage.