Nucleoside triphosphate pyrophosphatase. May have a dual role in cell division arrest and in preventing the incorporation of modified nucleotides into cellular nucleic acids. a ribonucleoside 5'-triphosphate + H2O = a ribonucleoside 5'-phosphate + diphosphate + H(+) a 2'-deoxyribonucleoside 5'-triphosphate + H2O = a 2'-deoxyribonucleoside 5'-phosphate + diphosphate + H(+) Belongs to the Maf family.