UNPKG

blockchain-api-client

Version:

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

6 lines (5 loc) 241 B
import { ApiBalance, ApiTransaction } from "./types"; export interface Fetcher { fetchBalance: (address: string) => Promise<ApiBalance>; fetchTransactions: (address: string, query: URLSearchParams) => Promise<ApiTransaction>; }