Catalyzes the hydrolysis of nucleoside triphosphates and diphosphates (PubMed:15130768). Has a threefold preference for the hydrolysis of ATP and UTP over ADP and UDP (PubMed:15130768). a ribonucleoside 5'-triphosphate + 2 H2O = a ribonucleoside 5'-phosphate + 2 H(+) + 2 phosphate Belongs to the GDA1/CD39 NTPase family.