@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
8 lines • 992 B
TypeScript
import { MarketCurrencyChartDataRequestParams, MarketListRequestParams, MarketPerformersParams, MarketItemResponse, SupportedCoins, MarketCurrencyRequestParams, MarketCoinDataChart } from "../utils/types";
export declare function getSupportedCoinsList(): Promise<SupportedCoins>;
export declare function fetchList({ counterCurrency, limit, page, order, search, liveCoinsList, starred, range, }: MarketListRequestParams): Promise<MarketItemResponse[]>;
export declare function supportedCounterCurrencies(): Promise<string[]>;
export declare function fetchCurrencyChartData({ id, counterCurrency, range, }: MarketCurrencyChartDataRequestParams): Promise<MarketCoinDataChart>;
export declare function fetchCurrency({ counterCurrency, id, }: MarketCurrencyRequestParams): Promise<MarketItemResponse>;
export declare function fetchMarketPerformers({ counterCurrency, range, limit, top, sort, supported, }: MarketPerformersParams): Promise<MarketItemResponse[]>;
//# sourceMappingURL=index.d.ts.map