import { APIResource } from "../../core/resource.mjs"; import { APIPromise } from "../../core/api-promise.mjs"; import { RequestOptions } from "../../internal/request-options.mjs"; export declare class List extends APIResource { /** * To query all the supported coins on CoinGecko with coin ID, name and symbol */ get(query?: ListGetParams | null | undefined, options?: RequestOptions): APIPromise; /** * To query the latest 200 coins that recently listed on CoinGecko */ getNew(options?: RequestOptions): APIPromise; } export type ListGetResponse = Array; export declare namespace ListGetResponse { interface ListGetResponseItem { /** * Coin ID */ id: string; /** * Coin name */ name: string; /** * Coin symbol */ symbol: string; /** * Asset platform and contract address */ platforms?: { [key: string]: string | null; }; } } export type ListGetNewResponse = Array; export declare namespace ListGetNewResponse { interface ListGetNewResponseItem { /** * Coin ID */ id: string; /** * Timestamp when coin was activated on CoinGecko */ activated_at: number; /** * Coin name */ name: string; /** * Coin symbol */ symbol: string; } } export interface ListGetParams { /** * Include platform and token's contract addresses. Default: false */ include_platform?: boolean; /** * Filter by status of coins. Default: active */ status?: 'active' | 'inactive'; } export declare namespace List { export { type ListGetResponse as ListGetResponse, type ListGetNewResponse as ListGetNewResponse, type ListGetParams as ListGetParams, }; } //# sourceMappingURL=list.d.mts.map