Comment on page
Hedera Mirror Node
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:
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 Arkhia, Dragonglass, or Ledger Works. When building your Hedera client via SDK, you can use
setMirrorNetwork()and enter the public mainnet mirror node endpoint. The gRPC API requires TLS. The following SDK versions support TLS:
- Java: v2.0.6+
- Go: v2.1.9+
Requests are throttled at 100 requests per second (rps). This may change in the future depending on performance or security considerations. At this time, no authentication is required.
//You will need to upgrade to v2.0.6 or higher
Client client = Client.forMainnet();
//You will need to upgrade to v2.0.23 or higher
const client = Client.forMainnet()
client := hedera.ClientForMainnet()
The endpoints provided below allow developers to access the testnet mirror node, which contains testnet transaction data.
The endpoints provided below allow developers to access the previewnet mirror node, which contains previewnet transaction data.