The Hedera Consensus Service (HCS) is a gRPC API endpoint on the mirror node to stream HCS messages. It offers the ability to subscribe to HCS topics and receive messages for the topic subscribed to. API docs for the mirror nodes can be found here:Documentation Index
Fetch the complete documentation index at: https://hedera-0c6e0218-mintlify-enhance-hollow-account-docs-97196.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Mirror Node REST API
Hedera Consensus Service gRPC API
Mainnet
The non-production public mainnet mirror node serves to help developers build their applications without having to run their own mirror node. For production-ready mainnet mirror nodes, please check out Validation Cloud, Arkhia, Dragonglass, or Hgraph. When building your Hedera client via SDK, you can usesetMirrorNetwork() and enter the public mainnet mirror node endpoint. The gRPC API requires TLS. The following SDK versions support TLS:
- Java: v2.0.6+
- JavaScript: v2.0.23+
- Go: v2.1.9+
Mainnet Mirror Node Endpoint: mainnet.mirrornode.hedera.com:443REST API Mainnet Root Endpoint: https://mainnet.mirrornode.hedera.com
Testnet
The endpoints provided below allow developers to access the testnet mirror node, which contains testnet transaction data.HCS Testnet Mirror Node Endpoint: testnet.mirrornode.hedera.com:443REST API Testnet Root Endpoint: https://testnet.mirrornode.hedera.com
Previewnet
The endpoints provided below allow developers to access the previewnet mirror node, which contains previewnet transaction data.HCS Previewnet Mirror Node Endpoint: previewnet.mirrornode.hedera.com:443REST API Preview Testnet Root Endpoint: https://previewnet.mirrornode.hedera.com