<commit_before><commit_msg>[FEATURE] get cold wallet balance<commit_after>var balance = require(__dirname+'/../../../ripple/get_account_balance.js');

module.exports = function(req, res){
  balance.getLiabilities(function(err, balance){
    if (err){
      res.send(500, { error: err });
    } else {
      res.send(balance);
    }
  });
};
{'fraction_non_alphanumeric': 0.18235294117647058, 'fraction_numerical': 0.008823529411764706, 'mean_word_length': 3.671232876712329, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1358615', 'n_tokens_mistral': 112, 'n_tokens_neox': 108, 'n_words': 19}