Skip to main content

ICredentialWallet.createCredential() method

Creates a W3C verifiable Credential object

Signature:

createCredential(issuer: DID, request: CredentialRequest, schema: JSONSchema): W3CCredential;

Parameters

ParameterTypeDescription
issuerDIDissuer identity
requestCredentialRequestspecification of claim creation parameters
schemaJSONSchemaJSON schema for W3C Verifiable Credential

Returns:

W3CCredential

W3CCredential