Jsonrpc response

JSONRPCResponse

All Websocket JSON RPC Responses are housed in this wrapper. It returns a confirmation of the JSON RPC subscribe request.
If a request_id is supplied in the JSON RPC request, it will be propagated back in this JSON RPC response.

Name
Lite
Type Required
Default
Description
jsonrpc
j
string True The JSON RPC version to use for the request
result
r
object False
null
The result for the request
error
e
Error False
null
The error for the request
id
i
integer False
0
Optional Field which is used to match the response by the client.
If not passed, this field will not be returned
method
m
string True The method used in the request for this response (eg: subscribe / unsubscribe / v1/instrument )
Error

An error response

Name
Lite
Type Required
Default
Description
code
c
integer True The error code for the request
message
m
string True The error message for the request