Search in sources :

Example 1 with BiboxAssetsResult

use of org.knowm.xchange.bibox.dto.account.BiboxAssetsResult in project XChange by knowm.

the class BiboxAccountServiceRaw method getBiboxAccountInfo.

public List<BiboxAsset> getBiboxAccountInfo() {
    try {
        BiboxSingleResponse<BiboxAssetsResult> response = bibox.assets(ASSETS_CMD.json(), apiKey, signatureCreator);
        throwErrors(response);
        return response.get().getResult().getAssets_list();
    } catch (BiboxException e) {
        throw new ExchangeException(e.getMessage());
    }
}
Also used : ExchangeException(org.knowm.xchange.exceptions.ExchangeException) BiboxAssetsResult(org.knowm.xchange.bibox.dto.account.BiboxAssetsResult) BiboxException(org.knowm.xchange.bibox.BiboxException)

Aggregations

BiboxException (org.knowm.xchange.bibox.BiboxException)1 BiboxAssetsResult (org.knowm.xchange.bibox.dto.account.BiboxAssetsResult)1 ExchangeException (org.knowm.xchange.exceptions.ExchangeException)1