XRD was performed on the Ag electrode before and after electrolysis using Bruker D8 Discover X-ray Diffractometer using Cu Kα radiation (λ = 1.5418 Å) generated at 40 kV and 40 mA. Kβ coming from Cu radiation was filtered by using Ni filters. The diffractometer has parallel beam optics and a 0.5° parallel slit analyzer. On the primary side, Göbel mirror was used and on the detector side LYNXEYE detector, which has 196 channels, each having a channel width of 14.4 mm was used. The detector slit used was 1.2 mm. A two-theta scan was performed to get the offset of the beam with the sample holder in place by using a primary rotary absorbance value of 73.88 following which an external offset correction was made. The sample was placed on the sample holder and a Z scan was done to locate the sample edge with an auto primary rotary absorbance. The angular offset of the sample was found by performing a rocking scan with a primary rotary absorbance of 73.88 and flatness correction was made. Finally, coupled two theta/theta scans were performed from 10° to 90° with a step size of 0.02° to obtain the XRD spectra. The primary rotary absorbance was set to auto mode. Post-processing is performed using Diffrac Suite Eva software and the background noise was subtracted. The data were scanned with the ICDD and the peaks were identified.