UNPKG

@bsv/wallet-toolbox

Version:

BRC100 conforming wallet, wallet storage and wallet signer components

18 lines 666 B
import { HttpClient } from '@bsv/sdk'; /** * Provides a simplified interface based on the @bsv/sdk `HttpClient` class * with just the methods necesary for most Chaintracks operations. * * The primary purpose is to isolate and centralize external package dependency. * * Specific ingestors are free to use other means for access. * * The `ChaintracksFetch` class implements this interface. */ export interface ChaintracksFetchApi { httpClient: HttpClient; download(url: string): Promise<Uint8Array>; fetchJson<R>(url: string): Promise<R>; pathJoin(baseUrl: string, subpath: string): string; } //# sourceMappingURL=ChaintracksFetchApi.d.ts.map