Acyl-CoA diphosphatase that mediates the hydrolysis of a wide range of CoA and CoA esters yielding 3',5'-ADP and the corresponding 4'-phosphopantetheine derivative as products (By similarity). Hydrolyzes short- and medium-chain acyl-CoAs, exhibiting the highest activity toward free CoA, hexanoyl-CoA, and octanoyl-CoA and the lowest activity against acetyl-CoA (By similarity). Exhibits decapping activity towards dpCoA-capped RNAs in vitro (By similarity). . This is the function of NUDT8 (nudix hydrolase 8, Ensembl gene identifier ENSG00000167799).