UNPKG

tardis-dev

Version:

Convenient access to tick-level historical and real-time cryptocurrency market data via Node.js

8 lines 311 B
import { getJSON } from "./handy.js"; import { getOptions } from "./options.js"; export async function getExchangeDetails(exchange) { const options = getOptions(); const { data } = await getJSON(`${options.endpoint}/exchanges/${exchange}`); return data; } //# sourceMappingURL=exchangedetails.js.map