CredentialIssuerEIP712.createVerifiableCredentialEIP712() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Creates a Verifiable Credential. The payload, signer and format are chosen based on the args
parameter.
Signature:
createVerifiableCredentialEIP712(args: ICreateVerifiableCredentialEIP712Args, context: IRequiredContext): Promise<VerifiableCredential>;
Parameters
Parameter | Type | Description |
---|---|---|
args | ICreateVerifiableCredentialEIP712Args | Arguments necessary to create the Credential. |
context | IRequiredContext | This reserved param is automatically added and handled by the framework, *do not override* |
Returns:
Promise<VerifiableCredential>
- a promise that resolves to the VerifiableCredential that was requested or rejects with an error if there was a problem with the input or while getting the key to sign
Remarks
Please see Verifiable Credential data model
This API may change without a BREAKING CHANGE notice.