The correct option is B [Pt(py)4][PtCl4]
[Pt(py)4][PtCl4] has the same oxidation state of the central metal atom in the cationic and anionic part.
The oxidation state of Pt in both complex ions is +2.
The compound contains [Pt(py)4]2+ cation and [PtCl4]2− anion.
In [Pt(NH3)4][PtCl6], the Pt atom has oxidation states of +2 and +4 in the complex cation and complex anion respectively.
In [Pt(NH3)4Cl2][PtCl4], the Pt atom has oxidation states of +4 and +2 in the complex cation and complex anion respectively.
In K4[Ni(CN)6], the Ni atom has oxidation states of +2.