The mechanism of the reaction catalysed by adenosine triphosphate-creatine phosphotransferase.