org.knowm.xchange.coinmate.service.CoinmateMetadataServiceRaw Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xchange-coinmate Show documentation
Show all versions of xchange-coinmate Show documentation
XChange implementation for the Coinmate Exchange
package org.knowm.xchange.coinmate.service;
import java.io.IOException;
import org.knowm.xchange.Exchange;
import org.knowm.xchange.client.ExchangeRestProxyBuilder;
import org.knowm.xchange.coinmate.Coinmate;
import org.knowm.xchange.dto.meta.ExchangeMetaData;
public class CoinmateMetadataServiceRaw extends CoinmateBaseService {
private final Coinmate coinmate;
public CoinmateMetadataServiceRaw(Exchange exchange) {
super(exchange);
this.coinmate =
ExchangeRestProxyBuilder.forInterface(Coinmate.class, exchange.getExchangeSpecification())
.build();
}
public ExchangeMetaData getMetadata() throws IOException {
ExchangeMetaData metaData = coinmate.getMetadata();
return metaData;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy