UNPKG

blockchain-api-client

Version:

Blockchain Api Client which maps Results of all supported Blockchain API's into a unified interface

11 lines (10 loc) 303 B
import { Fetcher } from "./fetcher"; import { Mapper } from "./mapper"; import { Provider } from "./types"; export declare type ProviderFunctions = { mapper: Mapper; fetcher: Fetcher; }; export interface Factory { getProviderFunctions: (provider: Provider) => ProviderFunctions; }