gRPC
Subscribe to Polaris Market Data using protobuf.
The gRPC package is:
polaris.data_gateway.v1Endpoint:
https://data.polarislab.xyzService:
service PolarisDataGateway {
rpc Subscribe(SubscribeRequest) returns (stream StreamEvent);
}Market-data feed enum values:
FEED_DEPTH = 1;
FEED_QUOTE_SURFACE = 8;
FEED_SWAPS = 9;
FEED_LIQUIDITY_BOOK = 10;WebSocket JSON and gRPC protobuf expose the same logical market-data contract. The client repository contains the published market-data proto subset and Rust examples:
https://github.com/polarislabxyz/polaris-data-clients