• Preparing search index...
  • The search index is not available
API Documentation
  • API Documentation
  • legacy-credentials/src
  • fromVC

Function fromVC

  • fromVC(input): ICredential
  • Transforms a KiltCredentialV1 object back to the legacy ICredential data model.

    Parameters

    • input: KiltCredentialV1

      A KiltCredentialV1 object with embedded KiltAttestationProofV1 proof.

    Returns ICredential

    An ICredential. Depending on the input, legitimations may be merely consist of the credential id instead of full ICredentials.

    • Defined in packages/legacy-credentials/src/vcInterop.ts:139

Settings

Member Visibility

Theme

API Documentation
  • asset-credentials/src
  • chain-helpers/src
  • config/src
  • credentials/src
  • did/src
  • jsonld-suites/src
  • legacy-credentials/src
    • Attestation
    • Claim
    • Credential
    • fromVC
    • toVc
  • sdk-js/src
  • types/src
  • utils/src