MT#7959 update contracts api doc

(cherry picked from commit fc4bdaf75052ca2edc0aa04ef687f8abaaf93068)