UNPKG

@abcpros/bitcore-wallet-service

Version:
24 lines 950 B
import * as request from 'request'; import { Storage } from './storage'; export declare class FiatRateService { request: request.RequestAPI<any, any, any>; defaultProvider: any; cryptoCompareApiKey: string; providers: any[]; storage: Storage; init(opts: any, cb: any): void; startCron(opts: any, cb: any): any; handleRateCurrencyCoin(res: any, listRate: any): Promise<unknown>; _getProviderRate(coin: any): any; getLatestCurrencyRates(opts: any): Promise<any>; _getCurrencyRate(code: any, ts: any): Promise<any>; _getEtokenSupportPrice(): any[]; _fetch(cb?: any): Promise<void>; _retrieve(provider: any, coin: any, cb: any): Promise<any>; _retrieveLotus(cb: any): void; getRate(opts: any, cb: any): void; getRates(opts: any, cb: any): any; getRatesByCoin(opts: any, cb: any): any; getHistoricalRates(opts: any, cb: any): void; } //# sourceMappingURL=fiatrateservice.d.ts.map