CredentialRequest interface
Request to core library to create Core Claim from W3C Verifiable Credential
CredentialRequest
Signature:
export interface CredentialRequest
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
credentialSchema | string | JSON credential schema | |
credentialSubject | { [key: string]: string | object | number | boolean; } | Credential subject, usually contains claims and identifier | |
expiration? | number | (Optional) expiration time | |
merklizedRootPosition? | MerklizedRootPosition | (Optional) merklizedRootPosition (index / value / none) | |
revocationOpts | { id: string; nonce?: number; type: CredentialStatusType; } | Revocation options {{ id: string; nonce?: number; type: CredentialStatusType; }} CredentialRequest | |
subjectPosition? | SubjectPosition | (Optional) subject position (index / value / none) | |
type | string | Credential type | |
version? | number | (Optional) claim version |