VPS & VDS free for 3 days - $0 today. CLAIM TRIAL>

OpenInfra.shopeninfra.sh

Data streams

Datastream and Eventstream expose the same server-streaming gRPC method with different topic catalogues.

Endpoints

ServiceEndpointUse
Datastreamstream.sol.openinfra.sh:443OpenInfra Solana data topics
Eventstreamevents.sol.openinfra.sh:443Program and decoded event topics

Both services use x-api-key gRPC metadata and call nln.stream.v1.StreamService/Subscribe.

Request

  • topic — exact topic name assigned to the stream.
  • format — set to JSON or enum value 1.

Topic names are service configuration, not inferred Solana RPC method names. Use the topic shown in your dashboard or supplied by OpenInfra.

Response envelope

FieldProto typeMeaning
topicstringTopic that produced the message
partitionuint64Source partition
offsetuint64Position within the partition
timestamp_msint64Message timestamp in milliseconds
payloadbytesJSON bytes when format is JSON

Decode payload as UTF-8 JSON when JSON output is requested. Payload fields vary by topic.

Proto

Download the verified schema at /protos/stream_service.proto.

Guides