incubed
Version:
Typescript-version of the incubed client
5 lines (4 loc) • 344 B
TypeScript
import { RPCRequest, RPCResponse } from '../../types/types';
import ChainContext from '../../client/ChainContext';
/** general verification-function which handles it according to its given type. */
export declare function verifyProof(request: RPCRequest, response: RPCResponse, allowWithoutProof: boolean, ctx: ChainContext): Promise<boolean>;