Skip to main content

extractProof() function

extracts core claim from Proof and returns Proof Type

Signature:

export declare function extractProof(proof: object): {
claim: Claim;
proofType: ProofType;
};

Parameters

ParameterTypeDescription
proofobjectproof of vc

Returns:

{ claim: Claim; proofType: ProofType; }

{*} {{ claim: Claim; proofType: ProofType }}