UNPKG

blockchain-api-client

Version:

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

10 lines (8 loc) 333 B
import { Provider } from "./types"; export interface Endpoints { balance: (address: string) => string; transactions: (address: string, query: URLSearchParams) => string; utxo: (transactionHash: string, index: number) => string; fees: (provider: Provider) => string; broadcastTransaction: (provider: Provider) => string; }