In this study, we used lectin microarrays to evaluate differences in serum IgG and IgM glycosylation in patients with HCC, hepatitis B cirrhosis (HBC), chronic hepatitis B (CHB), and healthy normal controls (NC), and established a combined diagnostic model to improve the accuracy of HCC detection. Here, CD40LG is linked to chronic hepatitis B virus infection.