The oxidation state of transition metal in the product Potassium hexacyanomanganate(II) reacts with K metal to form K₆[Mn(CN)₆] is +2.
K4 [ Mn(CN)6 ] is a coordination compound. The potassium ion is the cation and the complex ion is the anion. As there are 4 K+ binding with a complex ion, the charge on the complex ion must be - 4. As each ligand carries –1 charge, the oxidation number of Mn must be +2.
oxidation number, also called oxidation state, the total number of electrons that an atom either gains or loses in order to form a chemical bond with another atom.
Learn more about oxidation state here: