GO:0071344:   diphosphate metabolic process
The chemical reactions and pathways involving diphosphate, the anion or salt of diphosphoric acid.