Data streams
Datastream and Eventstream expose the same server-streaming gRPC method with different topic catalogues.
Endpoints
| Service | Endpoint | Use |
|---|---|---|
| Datastream | stream.sol.openinfra.sh:443 | OpenInfra Solana data topics |
| Eventstream | events.sol.openinfra.sh:443 | Program 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 toJSONor enum value1.
Topic names are service configuration, not inferred Solana RPC method names. Use the topic shown in your dashboard or supplied by OpenInfra.
Response envelope
| Field | Proto type | Meaning |
|---|---|---|
| topic | string | Topic that produced the message |
| partition | uint64 | Source partition |
| offset | uint64 | Position within the partition |
| timestamp_ms | int64 | Message timestamp in milliseconds |
| payload | bytes | JSON 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.