public GeminiBalancesResponse[] getGeminiAccountInfo() throws IOException { try { GeminiBalancesResponse[] balances = Gemini.balances( apiKey, payloadCreator, signatureCreator, new GeminiBalancesRequest(String.valueOf(exchange.getNonceFactory().createValue()))); return balances; } catch (GeminiException e) { throw new ExchangeException(e); } }