UNPKG

coingecko-openapi-client

Version:
27 lines (26 loc) 789 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AssetPlatformsService = void 0; class AssetPlatformsService { constructor(httpRequest) { this.httpRequest = httpRequest; } /** * List all asset platforms (Blockchain networks) * List all asset platforms * @param filter apply relevant filters to results * valid values: "nft" (asset_platform nft-support) * @returns any List all asset_platforms * @throws ApiError */ getAssetPlatforms(filter) { return this.httpRequest.request({ method: 'GET', url: '/asset_platforms', query: { 'filter': filter, }, }); } } exports.AssetPlatformsService = AssetPlatformsService;