• Performs all steps to verify a credential (unsigned), which includes verifying data structure, data integrity, and looking up its attestation on the KILT blockchain. In most cases, credentials submitted by a third party would be expected to be signed (a 'presentation'). To verify the additional signature as well, use verifyPresentation.

    Parameters

    • credential: ICredential

      The object to check.

    • options: VerifyOptions = {}

      Additional parameter for more verification steps.

    Returns Promise<VerifiedCredential>

    A VerifiedCredential object, which is the orignal credential with two additional properties: a boolean revoked status flag and the attester DID.