Abstract: ZkPassFfi

Defines functions for proof verification

Implemented by

Table of contents

Constructors

Methods

Constructors

constructor

new ZkPassFfi(): ZkPassFfi

Returns

ZkPassFfi

Methods

getQueryEngineVersion

abstract getQueryEngineVersion(): string

Returns the query engine version information

Returns

string


getQueryMethodVersion

abstract getQueryMethodVersion(): string

Returns the query method version information

Returns

string


catchError

catchError<T>(«destructured»): T

Type parameters

Name

T

Parameters

NameType

«destructured»

GenericResponse<T>

Returns

T


verifyZkProof

abstract verifyZkProof(receipt): <ZkPassOutput>

Verifies a zkPass Proof

Parameters

NameType

receipt

string

Returns

<ZkPassOutput>

Last updated