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

    Returns

    Encoded CType id.

    Parameters

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

      The CType id to translate for the blockchain.

    Returns CTypeHash