Nucleoside triphosphate pyrophosphatase that hydrolyzes dTTP and UTP (PubMed:24210219, PubMed:25658941, PubMed:28811554). Can also hydrolyze TTP and the modified nucleotides 5-methyl-UTP (m(5)UTP), pseudo-UTP and 5-methyl-CTP (m(5)CTP). Has weak activity with CTP (PubMed:24210219, PubMed:25658941). May have a dual role in cell division arrest and in preventing the incorporation of modified nucleotides into cellular nucleic acids (PubMed:24210219, PubMed:25658941). Important in maintenance of cell shape (PubMed:25658941). dTTP + H2O = diphosphate + dTMP + H(+) H2O + UTP = diphosphate + H(+) + UMP H2O + TTP = 5-methyl-UMP + diphosphate + H(+) H2O + psi-UTP = diphosphate + H(+) + psi-UMP 5-methyl-CTP + H2O = 5-methyl-CMP + diphosphate + H(+) kcat is 15.4 sec(-1) with dTTP as substrate. kcat is 15.2 sec(-1) with UTP as substrate. kcat is 4.9 sec(-1) with CTP as substrate. kcat is 18.2 sec(-1) with m(5)UTP as substrate. kcat is 9.2 sec(-1) with m(5)CTP as substrate. kcat is 10.5 sec(-1) with pseudo-UTP as substrate (PubMed:24210219). kcat is 43 sec(-1) with dTTP as substrate. kcat is 95 sec(-1) with UTP as substrate (PubMed:25658941). Homodimer (PubMed:24210219, PubMed:25658941, PubMed:26252214). Can also form homotetramers (PubMed:24210219). Knockout mutant grows faster than the wild-type and exhibits a more spherical shape. Belongs to the Maf family. YhdE subfamily.