A Claim is a JSON used to describe the subject's properties. It can be perceived as a VC that hasn't been signed by the attester yet, and thus it is also named RawCredential

Basic Construction

Claimcontains the following 6 fields:

Here's the Claim structure:

export interface RawCredential {
  CType: HexString;
  credentialSubject: CredentialSubject;
  credentialSubjectNonceMap: Record<HexString, HexString>;
  credentialSubjectHashes: HexString[];
  holder: DidUrl;
  hasher: [HashType, HashType];
}

Key Methods

A Claim (RawCredential) features the following methods for efficient Claim management:

For a detailed explanation, please refer to our SDK Guideline