Mediation analysis did not show significant mediating effects for ALT or AST on the risk of T2DM with DR via glycated hemoglobin, SBP, or DBP. The gene discussed is GPT; the disease is type 2 diabetes mellitus.