blockchain-api-client
Version:
Blockchain Api Client which maps Results of all supported Blockchain API's into a unified interface
9 lines (8 loc) • 350 B
TypeScript
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;
}