public static List getBasketList(String serverID, String nymID) {

        List basketList = new ArrayList();

        /* TODO: This loop will be replaced by server call 
        which returns only those assets registered at the server */
        if (Utility.VerifyStringVal(nymID)) {
            nymID = new NYM().registeredNYM(serverID);
        }

        System.out.println("--nymID:" + nymID);


        if (Utility.VerifyStringVal(nymID)) {
            basketList.add(new String[]{"Popup Dialog"});
            return basketList;
        }

        List registeredAssets = getRegisteredAssets(serverID, nymID);

        if (registeredAssets != null) {

            for (int i = 0; i < registeredAssets.size(); i++) {
                String key = (String) registeredAssets.get(i);
                System.out.println("key:" + key);
                if (Utility.VerifyStringVal(key) && otapiJNI.OTAPI_Basic_IsBasketCurrency(key)) {
                    String label = otapiJNI.OTAPI_Basic_GetAssetType_Name(key);
                    basketList.add(new String[]{label, key});
                }
            }
        }


        /* int count = otapiJNI.OTAPI_Basic_GetAssetTypeCount();

        for (int i = 0; i < count; i++) {
        String key = otapiJNI.OTAPI_Basic_GetAssetType_ID(i);
        System.out.println("key:" + key);
        if (Utility.VerifyStringVal(key) && otapiJNI.OTAPI_Basic_IsBasketCurrency(key) == 1) {
        String label = otapiJNI.OTAPI_Basic_GetAssetType_Name(key);
        basketList.add(new String[]{label, key});
        }
        }*/


        return basketList;
    }