vlayer-web-proof
Version:
It is a npm package for vlayer web proof mechanism. It uses native rust bindings for maximum efficiency.
11 lines (10 loc) • 497 B
TypeScript
import type { WebProofRequest, WebProofResponse } from './types';
export declare function callNativeWebProof(request: WebProofRequest): Promise<WebProofResponse>;
export declare function callNativeSimpleWebProof(notaryHost: string, notaryPort: number, url: string): Promise<string>;
export declare function isNativeBindingLoaded(): boolean;
export declare function getNativeBindingInfo(): {
loaded: boolean;
attempts: number;
error: string | null;
supportedPlatforms: string[];
};