UNPKG

@mimicry/kaleidoscope

Version:

Kaleidoscope is an NPM package that conveniently aggregates responses from multiple NFT data providers.

14 lines (13 loc) 539 B
import { Chain, CurrencySymbol } from '../../../enums'; import { CurrencyInfo } from '../../../types'; export declare class RestfulProvider { private _config; constructor(_providerConfig: any, _apiHost: string); gotJson(_uri: string, _options?: any): Promise<any>; getApiHost(): string; getApiKey(): string; getBlockchain(_chain: Chain): string; getCurrencyInfoFromChain(_chain?: Chain): CurrencyInfo; getCurrencyInfoFromSymbol(_symbol?: CurrencySymbol): CurrencyInfo; getName(): string; }