In our study, network pharmacology revealed the potential targets of SGLT2 inhibitors, as well as targets of DM with HF, and bioinformatics was used to study the main enrichment pathways. This evidence concerns the gene SLC5A2 and hydrops fetalis.