Skip to main content

ICreateVerifiableCredentialEIP712Args interface

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.

Encapsulates the parameters required to create a W3C Verifiable Credential

This API may change without a BREAKING CHANGE notice.

Signature:

export interface ICreateVerifiableCredentialEIP712Args extends UsingResolutionOptions

Extends: UsingResolutionOptions

Properties

PropertyModifiersTypeDescription
credentialCredentialPayload

(BETA) The json payload of the Credential according to the canonical model

The signer of the Credential is chosen based on the issuer.id property of the credential

@context, 'type' and 'issuanceDate' will be added automatically if omitted

keyRef?string(BETA) (Optional) Specific key to use for signing