Skip to main content

IProofService.generateProof() method

Generate proof from given identity and credential for protocol proof request

Signature:

generateProof(proofReq: ZeroKnowledgeProofRequest, identifier: DID, opts?: ProofGenerationOptions): Promise<ZeroKnowledgeProofResponse>;

Parameters

ParameterTypeDescription
proofReqZeroKnowledgeProofRequestprotocol zkp request
identifierDIDdid that will generate proof
optsProofGenerationOptions(Optional) options that will be used for proof generation

Returns:

Promise<ZeroKnowledgeProofResponse>

Promise<ZeroKnowledgeProofResponse>