How would you balance this reaction:
$$\ce{Au(s) + NaCN(aq) + O2(g) + H2O(l)-> Na[Au(CN)2](aq) + NaOH(aq)}?$$
Here’s what I’m came up with. First we can balance any atoms besides hydrogen and oxygen in the reaction (like $\ce{Na}$ and $\ce{CN}):$
$$\ce{Au(s) + 2 NaCN(aq) + O2(g) + H2O(l) -> Na[Au(CN)2](aq) + NaOH(aq)}$$
Then we can write out the half reactions:
$$ \begin{align} \text{Anode:} &\quad &\ce{Au(s) &-> Au+} \\ \text{Cathode:} &\quad &\ce{O2(g) &-> H2O} \end{align} $$
Since the oxygen is going from an oxidation state of $0$ to $-2$ in the cathode half reaction, I figured you can rewrite $\ce{OH-}$ as $\ce{H2O}$ on the right hand side of the equation.
For the half reactions, I figured we can eliminate the ions whose oxidation number don’t change but I’m not sure whether you should include $\ce{NaOH}$ in the anode or cathode half reaction.