• Extracts the credential root hash from a KILT VC's id.

    Parameters

    • credentialId: `kilt:credential:${string}`

      The IRI that serves as the credential id on KILT VCs.

    Returns Uint8Array

    The credential root hash as a Uint8Array.