Skip to main content

CredentialIssuerEIP712.createVerifiablePresentationEIP712() 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 Presentation. The payload and signer are chosen based on the args parameter.

Signature:

createVerifiablePresentationEIP712(args: ICreateVerifiablePresentationEIP712Args, context: IRequiredContext): Promise<VerifiablePresentation>;

Parameters

ParameterTypeDescription
argsICreateVerifiablePresentationEIP712ArgsArguments necessary to create the Presentation.
contextIRequiredContextThis reserved param is automatically added and handled by the framework, *do not override*

Returns:

Promise<VerifiablePresentation>

  • a promise that resolves to the VerifiablePresentation 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 Presentation data model