UNPKG

coingecko-openapi-client

Version:
17 lines (16 loc) 713 B
import type { CancelablePromise } from '../core/CancelablePromise'; import type { BaseHttpRequest } from '../core/BaseHttpRequest'; export declare class SearchService { readonly httpRequest: BaseHttpRequest; constructor(httpRequest: BaseHttpRequest); /** * Search for coins, categories and markets on CoinGecko * Search for coins, categories and markets listed on CoinGecko ordered by largest Market Cap first. * * Cache / Update Frequency: every 15 minutes * @param query Search string * @returns any List of coins, categories and markets matching search term ordered by market cap * @throws ApiError */ getSearch(query: string): CancelablePromise<any>; }