UNPKG

coingecko-openapi-client

Version:
26 lines (25 loc) 812 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CompaniesBetaService = void 0; class CompaniesBetaService { constructor(httpRequest) { this.httpRequest = httpRequest; } /** * Get public companies data * Get public companies bitcoin or ethereum holdings (Ordered by total holdings descending) * @param coinId bitcoin or ethereum * @returns any Get public companies bitcoin or ethereum holdings * @throws ApiError */ getCompaniesPublicTreasury(coinId) { return this.httpRequest.request({ method: 'GET', url: '/companies/public_treasury/{coin_id}', path: { 'coin_id': coinId, }, }); } } exports.CompaniesBetaService = CompaniesBetaService;