Rivaroxaban is in a class of medications called factor Xa inhibitors. which works by decreasing the clotting ability of the blood.
Xarelto is a drug prescribed to prevent or treat atrial fibrillation (AFib; a condition in which the heart beats irregularly, increasing the chance of clots forming in the body, and possibly causing strokes), Deep Vein Thrombosis (DVT; a blood clot, usually in the leg) and Pulmonary Embolism (PE; a blood clot in the lung).