What is type of current that transformers require to operate?

As a transformer requires an alternating magnetic flux within its core, then the current flowing in its primary winding must be alternating.