Wallet api now returns an array
Renamed `blocks`.`value` to `blocks`.`value_out`
Renamed `blocks`.`num_tx` to `blocks`.`num_transactions`
Refactoring