tardis-dev
Version:
Convenient access to tick-level historical and real-time cryptocurrency market data via Node.js
12 lines • 517 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getExchangeDetails = void 0;
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;
}
exports.getExchangeDetails = getExchangeDetails;
//# sourceMappingURL=exchangedetails.js.map