Defines functions for proof verification
• new ZkPassProofVerifier(): ZkPassProofVerifier
Returns
▸ getQueryEngineVersionInfo(): Promise
<QueryEngineVersionInfo
>
Returns the query engine and method version information
Returns
Promise
<QueryEngineVersionInfo
>
▸ verifyZkPassProof(zkPassProofToken
, validator
): Promise
<VerifyZkPassProofResult
>
Verifies a zkPass Proof
Parameters
Returns
Promise
<VerifyZkPassProofResult
>
▸ verifyZkPassProofInternal(zkPassProofToken
): Promise
<VerifyZkPassProofResult
>
Parameters
Returns
Promise
<VerifyZkPassProofResult
>
Name | Type |
---|---|
Name | Type |
---|---|
zkPassProofToken
string
validator
zkPassProofToken
string