Alibaba Cloud Blockchain as a Service (BaaS) integrates with a range of Alibaba Cloud services to support on-chain and off-chain collaboration. These integrations let you connect blockchain events to off-chain systems, export ledger data for analysis, moderate content before it reaches the chain, and protect your network — without writing low-level SDK integration code. BaaS also provides a REST API so you can call smart contracts, query blocks, query transactions, and subscribe to on-chain events directly.
The following integrations are supported:
| Service | What it does |
|---|---|
| Function Compute | Run off-chain business logic when on-chain events occur |
| Message Queue RocketMQ | Publish blockchain events to message topics for downstream subscribers |
| External HTTP service | Push on-chain events to your own applications or third-party services |
| Content Moderation | Block non-compliant content before it is written to the chain |
| Database | Export blockchain data to a relational database for SQL-based queries and analytics |
| Object Storage Service (OSS) | Store large files off-chain while anchoring them to on-chain records |
| Video DNA | Extract unique digital fingerprints from media and record them on-chain for copyright use cases |
| Cloud Enterprise Network (CEN) and DNS Private Zone | Connect on-premises data centers to your blockchain network over a private network |
| DDoS protection | Protect blockchain nodes against volumetric attacks |
Function Compute
Blockchain data is immutable, but the business logic that responds to it lives off-chain. Function Compute lets you bridge that gap: upload your business logic as a function, and BaaS automatically invokes it whenever a configured on-chain event occurs.
For setup instructions, see Integrate with Function Compute. For a worked example, see On-chain event triggering off-chain operation.
Message Queue RocketMQ
BaaS reliably publishes on-chain events to specific topics in Message Queue RocketMQ based on your configuration. Any application that subscribes to those topics receives the events for further processing — without polling the chain directly.
For setup instructions, see Integrate with Message Queue. For a worked example, see On-chain events sent to Message Queue.
Connect to an external HTTP service
Push on-chain events to any HTTP endpoint — your own application or a third-party service. BaaS sends the event payload to the configured endpoint whenever the event occurs, letting external systems react without subscribing to the chain directly.
For setup instructions, see Integrate with External HTTP Service.
Content Moderation
Because blockchain data is immutable, non-compliant content that reaches the chain is difficult to remove. Integrating Content Moderation intercepts data before it is written, preventing non-compliant content from ever being recorded on the ledger.
For setup instructions, see Integrate with Content Moderation. For a usage example, see Invoke with Content Moderation.
Database
Blockchain ledger data is stored in key-value format, which makes ad hoc queries and analytics difficult. By integrating with a relational database, BaaS automatically exports blockchain data to a target database table. Other applications can then query the data using SQL or connect it to analytics tools for further processing.
For setup instructions, see Integrate with Database. For a usage example, see Export blockchain data to a database.
Object Storage Service (OSS)
BaaS supports storing large volumes of data or files in OSS and linking them to on-chain records using trusted anchoring. This approach keeps large payloads off the chain while preserving the immutability guarantee for the linked data. A sample application based on the Hyperledger Fabric Go SDK is available for reference.
Video DNA
BaaS integrates with Video DNA to extract a unique digital fingerprint (DNA) from multimedia content — images, videos, and audio. Recording the DNA and associated metadata on the blockchain enables platforms for copyright attestation, infringement tracing, and copyright trading.
Cloud Enterprise Network (CEN) and DNS Private Zone
BaaS supports hybrid cloud consortium networks by integrating with Cloud Enterprise Network (CEN) and DNS Private Zone. CEN provides secure connectivity between virtual private clouds (VPCs) and on-premises data centers where blockchain nodes and applications are deployed. DNS Private Zone provides private domain name resolution and management for blockchain services within the CEN network.
DDoS protection
BaaS includes Anti-DDoS Basic Service by default. For critical workloads, BaaS also supports Anti-DDoS Pro Service and Anti-DDoS Premium Service. See Anti-DDoS Basic Service for details.
media fingerprinting service