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) 460 B
/// <reference types="node" /> import { RawData, RemoteData } from './RemoteData'; export declare class Sha256RemoteData<T> extends RemoteData<T> { private readonly hash; private readonly path; protected constructor(uri: string, hash: Buffer, path: string); static from<T>(uri: string): Sha256RemoteData<T> | undefined; static validate(uri: string): boolean; get(): Promise<T | undefined>; getRaw(): Promise<RawData | undefined>; }