The GDPR gives people the right not to be subject to solely automated decisions, including profiling, which have a legal or similarly significant effect on them. These provisions restrict when you can carry out this type of processing and give individuals specific rights in those cases.
EDPB guidelines on processing personal data through blockchains
These guidelines aim to clarify how data protection laws, particularly the GDPR, apply to blockchain systems.