class MercadoBitcoinAccountServiceRaw extends MercadoBitcoinBaseService {

  private static final String GET_ACCOUNT_INFO = "getInfo";

  private final MercadoBitcoinAuthenticated mercadoBitcoinAuthenticated;

  /**
   * Constructor
   *
   * @param exchange
   */
  protected MercadoBitcoinAccountServiceRaw(Exchange exchange) {

    super(exchange);
    this.mercadoBitcoinAuthenticated =
        ExchangeRestProxyBuilder.forInterface(
                MercadoBitcoinAuthenticated.class, exchange.getExchangeSpecification())
            .build();
  }

  public MercadoBitcoinBaseTradeApiResult<MercadoBitcoinAccountInfo> getMercadoBitcoinAccountInfo()
      throws IOException {<FILL_FUNCTION_BODY>}
}


    String method = GET_ACCOUNT_INFO;
    long nonce = exchange.getNonceFactory().createValue();

    MercadoBitcoinDigest signatureCreator =
        MercadoBitcoinDigest.createInstance(
            method,
            exchange.getExchangeSpecification().getPassword(),
            exchange.getExchangeSpecification().getSecretKey(),
            nonce);

    MercadoBitcoinBaseTradeApiResult<MercadoBitcoinAccountInfo> accountInfo =
        mercadoBitcoinAuthenticated.getInfo(
            exchange.getExchangeSpecification().getApiKey(), signatureCreator, method, nonce);

    if (accountInfo.getSuccess() == 0) {
      throw new ExchangeException("Error getting account info: " + accountInfo.getError());
    }

    return accountInfo;
  
<methods>public void <init>(org.knowm.xchange.Exchange) <variables>