Skip to main content

decodePresentationToObject() function

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Parses a W3CVerifiablePresentation and converts it to a VerifiablePresentation so it is easier to use programmatically.

Signature:

export declare function decodePresentationToObject(input: W3CVerifiablePresentation): VerifiablePresentation

Parameters

ParameterTypeDescription
inputW3CVerifiablePresentation

the raw presentation to be transformed.

This API may change without a BREAKING CHANGE notice.

Returns:

VerifiablePresentation