extractProof() function
extracts core claim from Proof and returns Proof Type
Signature:
export declare function extractProof(proof: object): {
claim: Claim;
proofType: ProofType;
};
Parameters
Parameter | Type | Description |
---|---|---|
proof | object | proof of vc |
Returns:
{ claim: Claim; proofType: ProofType; }
{*} {{ claim: Claim; proofType: ProofType }}