UNPKG

@airgap/coinlib-core

Version:

The @airgap/coinlib-core is a protocol agnostic library to prepare, sign and broadcast cryptocurrency transactions.

12 lines (11 loc) 316 B
/// <reference types="node" /> export interface RawData { bytes: Buffer; contentType?: string; } export declare abstract class RemoteData<T> { readonly uri: string; protected constructor(uri: string); abstract get(): Promise<T | undefined>; abstract getRaw(): Promise<RawData | undefined>; }