Jsonrpc request
All Websocket JSON RPC 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 |
---|---|---|---|
jsonrpcj |
string | True | The JSON RPC version to use for the request |
methodm |
string | True | The method to use for the request (eg: subscribe / unsubscribe / v1/instrument ) |
paramsp |
object | True | The parameters for the request |
idi |
integer | False0 |
Optional Field which is used to match the response by the client. If not passed, this field will not be returned |