[TASK] Add balance_change array to transaction response, computed from metadata

The examples in that document are only referring to self-executing anonymous functions. It doesn't imply that we need semicolons after function declarations.