code: def get_wallet_balance(wallet_name, api_key, omit_addresses=False, coin_symbol='btc'):
      '''
      This is particularly useful over get_wallet_transactions and
      get_wallet_addresses in cases where you have lots of addresses/transactions.
      Much less data to return.
      '''
      assert is_valid_coin_symbol(coin_symbol)
      assert api_key
      assert len(wallet_name) <= 25, wallet_name
      assert isinstance(omit_addresses, bool), omit_addresses
  
      params = {'token': api_key}
      if omit_addresses:
          params['omitWalletAddresses'] = 'true'
  
      url = make_url(coin_symbol, 'addrs/{}/balance'.format(wallet_name))
  
      r = requests.get(url, params=params, verify=True, timeout=TIMEOUT_IN_SECONDS)
      return get_valid_json(rf get_wallet_balance(wallet_name, api_key, omit_addresses=False, coin_symbol='btc'):
      '''
      This is particularly useful over get_wallet_transactions and
      get_wallet_addresses in cases where you have lots of addresses/transactions.
      Much less data to return.
      '''
      assert is_valid_coin_symbol(coin_symbol)
      assert api_key
      assert len(wallet_name) <= 25, wallet_name
      assert isinstance(omit_addresses, bool), omit_addresses
  
      params = {'token': api_key}
      if omit_addresses:
          params['omitWalletAddresses'] = 'true'
  
      url = make_url(coin_symbol, 'addrs/{}/balance'.format(wallet_name))
  
      r = requests.get(url, params=params, verify=True, timeout=TIMEOUT_IN_SECONDS)
      return get_valid_json(r)
docs: This is particularly useful over get_wallet_transactions and
      get_wallet_addresses in cases where you have lots of addresses/transactions.
      Much less data to return.