UNPKG

blockchain-api-client

Version:

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

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