Our research suggests a protective role of KCNJ11/ABCC8 (sulfonylureas), SLC5A2 (SGLT2i), and RXRB (TZDs) in preventing PT, RBBB, and AF, respectively. Here, KCNJ11 is linked to atrial fibrillation.