首页>
外国专利>
BLOCKCHAIN-BASED ASSET QUERY METHOD AND APPARATUS, AND ELECTRONIC DEVICE
BLOCKCHAIN-BASED ASSET QUERY METHOD AND APPARATUS, AND ELECTRONIC DEVICE
展开▼
机译:基于区块链的资产查询方法和装置,以及电子设备
展开▼
页面导航
摘要
著录项
相似文献
摘要
Disclosed is a blockchain-based asset query method and apparatus, and an electronic device. The method and apparatus are applied to a node device in a blockchain that carries a trusted execution environment; the blockchain stores asset issuance transactions that are issued to the blockchain by an investment manager and comprise asset information; and the asset issuance transactions are pre-encrypted. The method comprises: receiving a call transaction, which is sent by a client, for a target smart contract deployed on a blockchain and which comprises a transaction identifier of a target asset issuance transaction queried by an asset query user, wherein a contract code of the target smart contract is pre-encrypted (502); in response to the call transaction, decrypting the contract code of the target smart contract in a trusted execution environment, executing the decrypted contract code in the trusted execution environment, and determining whether the asset query user has permission to view the target asset issuance transaction (504); and if so, returning the target asset issuance transaction decrypted in the trusted execution environment to the client (506).
展开▼