• Preparing search index...
  • The search index is not available
API Documentation
  • API Documentation
  • credentials/src
  • CType
  • idToChain

Function idToChain

  • idToChain(cTypeId): CTypeHash
  • Encodes the provided CType['$id'] for use in api.query.ctype.ctypes().

    Parameters

    • cTypeId: `kilt:ctype:0x${string}`

      The CType id to translate for the blockchain.

    Returns CTypeHash

    Encoded CType id.

    • Defined in packages/credentials/src/ctype/CType.chain.ts:44

Settings

Member Visibility

Theme

API Documentation
  • asset-credentials/src
  • chain-helpers/src
  • config/src
  • credentials/src
    • Attestation
    • CType
      • Schemas
      • CTypeChainDetails
      • CTypeLoader
      • ICTypeDetails
      • fetchFromChain
      • fromChain
      • fromProperties
      • getHashForSchema
      • getIdForSchema
      • hashToId
      • idToChain
      • idToHash
      • isICType
      • newCachingCTypeLoader
      • serializeForHash
      • toChain
      • verifyCTypeMetadata
      • verifyClaimAgainstNestedSchemas
      • verifyClaimAgainstSchema
      • verifyDataStructure
      • verifyObjectAgainstSchema
      • verifyStored
    • DataIntegrity
    • DelegationNodeUtils
    • Holder
    • Issuer
    • KiltAttestationProofV1
    • KiltCredentialV1
    • KiltRevocationStatusV1
    • Presentation
    • Types
    • Verifier
    • DelegationNode
    • W3C_CREDENTIAL_CONTEXT_URL
    • W3C_CREDENTIAL_TYPE
    • W3C_PRESENTATION_TYPE
  • did/src
  • jsonld-suites/src
  • legacy-credentials/src
  • sdk-js/src
  • types/src
  • utils/src