Skip to main content

IIdentityWallet.getCoreClaimFromCredential() method

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.

Extracts core claim from signature or merkle tree proof. If both proof persists core claim must be the same

Signature:

getCoreClaimFromCredential(credential: W3CCredential): Promise<Claim>;

Parameters

ParameterTypeDescription
credentialW3CCredentialcredential to extract core claim

Returns:

Promise<Claim>

{Promise<Claim>}