In the movie Take Your Pills, they mention Warhol taking a drug similar to Adderall. Wikipedia says it was Obetrol[1]. As an amphetamine I imagine it had a profound effect on him and his art.
Though it is fascinating that he never participated in parties. That is totally not the narrative I bought into with him. How good at fooling us he was.