hl_subscribe JSON-RPC Method
To know more about the datasets for complete definitions and filtering options for each stream type, see here.
Parameters
streams
object
REQUIRED
Loading...
streams
array
Loading...
Returns
result
object
Loading...
Request
1wscat -c /ws \2# wait for connection3{"jsonrpc":"2.0","method":"hl_subscribe","params":{"streams":["trades","book"]},"id":1}
1wscat -c /ws \2# wait for connection3{"jsonrpc":"2.0","method":"hl_subscribe","params":{"streams":["trades","book"]},"id":1}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free