A method for logging condition data (110, 310, 510, 610) of a device in a blockchain, wherein the device comprises a device computer system, wherein the device computer system comprises a memory, wherein a private cryptographic key of an asymmetric key pair associated with the device is stored in the memory, wherein the device computer system comprises a communication interface for communicating via a first communication network, wherein the blockchain comprises, in a block, a program module with first program instructions, wherein the program module is associated with the device and an entry associated with the program module with condition data (110, 310, 510, 610) of the device is generated in the blockchain by executing the first program instructions, wherein the program module identifies a public cryptographic key of the asymmetric key pair associated with the device, wherein the method comprises: • receiving the condition data (110, 310) of the device by the device computer system, • creating a first data record for entry into the blockchain, wherein the first data record comprises the condition data (110, 310) of the device and identifies the program module associated with the device, • signing the first data record by the device computer system with the private cryptographic key, • sending the signed first record by the device computer system via the first communication network to a blockchain server (200, 220, 240) of a plurality of blockchain servers (200, 220, 240) of a blockchain network, wherein the blockchain servers (200, 220, 240) are configured to create additional blocks for the blockchain, • receiving the signed first data record by the blockchain server (200, 220, 240), • executing, by the blockchain server (200, 220, 240), the first program instructions of the program module identified by the data record, wherein executing the first program instructions comprises verifying the signature of the first data record using the public cryptographic key identified by the program module, and, in the case of a valid signature, adding a first entry comprising the signed first data record and a first timestamp to an additional block for the blockchain, wherein the device comprises at least one sensor (130, 150, 170) for detecting the condition data (110, 310) of the device, and wherein the condition data (110, 310) of the device are received by the at least one sensor (130, 150, 170), wherein the condition data (110, 310) comprise an identifier (150, 170, 190) associated with a plurality of electronic components (140, 160, 180) of the device, wherein this identifier is a characteristic of the device, which defines a specific compilation of the electronic components (140, 160, 180) of the device and thus the condition of the device. • receiving the condition data (110, 310) of the device by the device computer system, • creating a first data record for entry into the blockchain, wherein the first data record comprises the condition data (110, 310) of the device and identifies the program module associated with the device, • signing the first data record by the device computer system with the private cryptographic key, • sending the signed first record by the device computer system via the first communication network to a blockchain server (200, 220, 240) of a plurality of blockchain servers (200, 220, 240) of a blockchain network, wherein the blockchain servers (200, 220, 240) are configured to create additional blocks for the blockchain, • receiving the signed first data record by the blockchain server (200, 220, 240), • executing, by the blockchain server (200, 220, 240), the first program instructions of the program module identified by the data record, wherein executing the first program instructions comprises verifying the signature of the first data record using the public cryptographic key identified by the program module, and, in the case of a valid signature, adding a first entry comprising the signed first data record and a first timestamp to an additional block for the blockchain,