A blockchain-based user privacy data providing method, comprising: receiving a data consumption request sent by a data consumer, wherein the data consumption request is a consumption request aiming at user privacy data of a target user, the user privacy data comprises personal data that is pre-encrypted and is uploaded to a trusted execution environment, TEE, and the TEE is constructed in a node of a blockchain; performing predetermined verification on the data consumption request in the TEE based on plaintext request body data corresponding to the data consumption request by using a smart contract deployed in the blockchain, to obtain a corresponding predetermined verification result, the performing predetermined verification comprising: verifying a data privacy attribute of the user privacy data corresponding to the data consumption request, to obtain a first verification result; verifying, based on a pre-stored data hosting record, whether a hosting relationship exists between a data hoster and a data holder of the user privacy data, to obtain a second verification result; verifying, based on a pre-stored data authorization record, whether an authorization relationship exists between the data consumer and the data holder, to obtain a third verification result; and determining, based on at least one of the first verification result, the second verification result, and the third verification result, the predetermined verification result obtained for the data consumption request; and if the predetermined verification result satisfies a verification success condition, obtaining target user privacy data obtained for the data consumption request, and sending the encrypted target user privacy data to the data consumer, wherein the target user privacy data is obtained in the TEE based on the user privacy data stored in the blockchain. receiving a data consumption request sent by a data consumer, wherein the data consumption request is a consumption request aiming at user privacy data of a target user, the user privacy data comprises personal data that is pre-encrypted and is uploaded to a trusted execution environment, TEE, and the TEE is constructed in a node of a blockchain; performing predetermined verification on the data consumption request in the TEE based on plaintext request body data corresponding to the data consumption request by using a smart contract deployed in the blockchain, to obtain a corresponding predetermined verification result, the performing predetermined verification comprising: verifying a data privacy attribute of the user privacy data corresponding to the data consumption request, to obtain a first verification result; verifying, based on a pre-stored data hosting record, whether a hosting relationship exists between a data hoster and a data holder of the user privacy data, to obtain a second verification result; verifying, based on a pre-stored data authorization record, whether an authorization relationship exists between the data consumer and the data holder, to obtain a third verification result; and determining, based on at least one of the first verification result, the second verification result, and the third verification result, the predetermined verification result obtained for the data consumption request; and verifying a data privacy attribute of the user privacy data corresponding to the data consumption request, to obtain a first verification result; verifying, based on a pre-stored data hosting record, whether a hosting relationship exists between a data hoster and a data holder of the user privacy data, to obtain a second verification result; verifying, based on a pre-stored data authorization record, whether an authorization relationship exists between the data consumer and the data holder, to obtain a third verification result; and determining, based on at least one of the first verification result, the second verification result, and the third verification result, the predetermined verification result obtained for the data consumption request; and if the predetermined verification result satisfies a verification success condition, obtaining target user privacy data obtained for the data consumption request, and sending the encrypted target user privacy data to the data consumer, wherein the target user privacy data is obtained in the TEE based on the user privacy data stored in the blockchain.