UNPKG

coingecko-openapi-client

Version:
24 lines (23 loc) 637 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ExchangeRatesService = void 0; class ExchangeRatesService { constructor(httpRequest) { this.httpRequest = httpRequest; } /** * Get BTC-to-Currency exchange rates * Get BTC-to-Currency exchange rates * * Cache / Update Frequency: every 60 seconds * @returns any List rates * @throws ApiError */ getExchangeRates() { return this.httpRequest.request({ method: 'GET', url: '/exchange_rates', }); } } exports.ExchangeRatesService = ExchangeRatesService;