UNPKG

blockchain-api-client

Version:

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

7 lines (5 loc) 269 B
import { Balance, Provider, Transaction } from './types'; export interface Service { getBalance: (address: string, provider: Provider) => Promise<Balance>; getTransactions: (address: string, query: URLSearchParams, provider: Provider) => Promise<Transaction[]>; }