Overview
BCS provides blockchain middleware to support the development of upper-layer applications. You can easily use standard APIs to quickly access the middleware capabilities. Table 1 lists the APIs.
This chapter describes data plane APIs. For details about management plane APIs, see API Reference.
The endpoint of data plane requests can be obtained from the value of the basic_info->agent_portal_addrs field returned by the management plane API for querying BCS instance details. An example request is https://192.168.0.90:30603/v2/agent/apis/tokens.
API |
Description |
Middleware |
Port |
Accessing the blockchain system to invoke and query chaincodes
NOTE:
This function is under OBT. |
baas-restapi add-on Installation steps: Log in to the BCS console. In the navigation pane, choose Add-on Management. On the Add-on Repository tab page, click Install in the card of the baas-restapi add-on. |
32621 |
|
Chaincode Management (OBT) |
Installing, instantiating, deleting, and querying chaincodes
NOTE:
This function is under OBT. |
baas-agent (installed by default) |
30603 |
Generating, applying for, and signing decentralized identifiers (DIDs) and verifiable credentials (VCs)
NOTE:
This function is under OBT. |
baas-restapi add-on Installation steps: Log in to the BCS console. In the navigation pane, choose Add-on Management. On the Add-on Repository tab page, click Install in the card of the baas-restapi add-on. On the Install Add-on page, enable DID APIs. |
32621 |
|
Trusted data exchange based on the blockchain, involving data release, authorization, sharing, and decryption
NOTE:
This function is under OBT. |
baas-restapi add-on Installation steps: Log in to the BCS console. In the navigation pane, choose Add-on Management. On the Add-on Repository tab page, click Install in the card of the baas-restapi add-on. On the Install Add-on page, enable trusted data exchange APIs. |
32621 |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot