original_docstring: 
      Returns the balance of the given account available to be send 
      
docstring: Returns the balance of the given account available to be send
docstring_tokens: Returns the balance of the given account available to be send
code: def fetch_account_balance(pubKey = PUBLIC_KEY):
      """
      Returns the balance of the given account available to be send 
      """
      try:
          acc = server.accounts().account_id(PUBLIC_KEY).call()
      except:
          print(f"Specified account ({pubKey}) does not exists")
          return 0
      balance = 0
      
      for b in acc['balances']:
          if b['asset_type'] == 'native':
              balance = float(b['balance'])
              break
      
      balance -= 0.5 * (2 + acc['subentry_count']) # base reserve
      return balance
code_tokens: def fetch_account_balance ( pubKey = PUBLIC_KEY ) : try : acc = server . accounts ( ) . account_id ( PUBLIC_KEY ) . call ( ) except : print ( f"Specified account ({pubKey}) does not exists" ) return 0 balance = 0 for b in acc [ 'balances' ] : if b [ 'asset_type' ] == 'native' : balance = float ( b [ 'balance' ] ) break balance -= 0.5 * ( 2 + acc [ 'subentry_count' ] ) return balance
short_docstring: Returns the balance of the given account available to be send
short_docstring_tokens: Returns the balance of the given account available to be send
comment: """
      Returns the balance of the given account available to be send 
      """$SEP$# base reserve