The Ag+-G interaction inhibits the electrocatalytic oxidation of guanine--a novel mechanism for Ag+ detection.