• Produces a KiltCredentialV1 from input data.

    Parameters

    • input: CredentialInputWithRootHash

      Container for input data.

    Returns Omit<KiltCredentialV1, "proof">

    A VerfiableCredential (without proof) conforming to the KiltCredentialV1 data model. The id is omitted if no claimHash was specified.

  • Produces a KiltCredentialV1 from input data.

    Parameters

    • input: CredentialInput

      Container for input data.

    Returns Omit<KiltCredentialV1, "proof" | "id" | "credentialStatus">

    A VerfiableCredential (without proof) conforming to the KiltCredentialV1 data model. The id is omitted if no claimHash was specified.