The Hedera Consensus Service (HCS) gRPC API is a public mirror node managed by Hedera. It offers the ability to subscribe to HCS topics and receive messages for the topic subscribed.
Important Notice: Deprecation of the Insecure Hedera Consensus Service (HCS) Mirror Node Endpoints
We are phasing out the legacy Hedera Consensus Service (HCS) mirror node endpoints. The APIs have transitioned from the legacy hcs.<env>.mirrornode.hedera.com:5600 endpoints to the new <env>.mirrornode.hedera.com:443 endpoints.For more details, please read our blog post announcement.
Requests for the public mainnet mirror node are throttled at 100 requests per second (rps). This may change in the future depending upon performance or security considerations. At this time, no authentication is required.
Community-supported mirror node information can be found here:
If you building your client with a predefined Hedera network (previewnet, testnet, mainnet), you do not need to define the mirror client as it is built in. If you would like to modify the mirror node client, you can use Client.<network>.setMirrorNetwork(<network>).
// You will need to upgrade to v2.0.6 or higherClient client = Client.forMainnet();client.setMirrorNetwork(Collections.singletonList("mainnet.mirrornode.hedera.com:443"))
// You will need to upgrade to v2.0.23 or higherconst client = Client.forMainnet()client.setMirrorNetwork("mainnet.mirrornode.hedera.com:443")