def METHOD_NAME(self, monitor_id, subaddress_index=0):
    response = self.request(f"monitors/{monitor_id}/subaddresses/{subaddress_index}/balance")
    if "balance" not in response:
        raise Exception(f"Invalid response: {response}")
    return int(response["balance"])