tardis-dev
Version:
Convenient access to tick-level historical and real-time cryptocurrency market data via Node.js
11 lines • 480 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getExchangeDetails = getExchangeDetails;
const handy_1 = require("./handy");
const options_1 = require("./options");
async function getExchangeDetails(exchange) {
const options = (0, options_1.getOptions)();
const exchangeDetails = await handy_1.httpClient.get(`${options.endpoint}/exchanges/${exchange}`).json();
return exchangeDetails;
}
//# sourceMappingURL=exchangedetails.js.map