API overview
This topic outlines the server-side APIs for IoT Blockchain Hub.
Server-side APIs
API name | Description |
UploadIoTDataToBlockchain | Uploads data from an Internet of Things (IoT) device to the blockchain. The device generates a unique identity for the data. The data is asynchronously uploaded to the blockchain through a queue. You can later query and confirm the data using this unique identity. |
UploadDataToBlockchain | Uploads data from a business system to the blockchain. The system generates a unique identity for the data. The data is asynchronously uploaded to the blockchain through a queue. You can later query and confirm the data using this unique identity. |
QueryBlockchainData | Queries data on the blockchain using the unique data identity generated by an IoT device. |
QueryBlockchainMetadata | Queries the blockchain metadata of data on the blockchain using the unique data identity generated by an IoT device. |
ListDIDByDataDIDPrefix | Traces and queries a list of data on the blockchain using the prefix of a unique data identity. |
Error codes
For more information, see Error codes.