Ws subscribe request v1 legacy
All V1 Websocket Requests are housed in this wrapper. You may specify a stream, and a list of feeds to subscribe to.
If a request_id
is supplied in this JSON RPC request, it will be propagated back to any relevant JSON RPC responses (including error).
When subscribing to the same primary selector again, the previous secondary selector will be replaced. See Overview
page for more details.
NameLite |
Type | RequiredDefault |
Description |
---|---|---|---|
request_idri |
integer | False0 |
Optional Field which is used to match the response by the client. If not passed, this field will not be returned |
streams |
string | True | The channel to subscribe to (eg: ticker.s / ticker.d) |
feedf |
[string] | True | The list of feeds to subscribe to |
methodm |
string | True | The method to use for the request (eg: subscribe / unsubscribe) |
is_fullif |
boolean | Falsefalse |
Whether the request is for full data or lite data |