Skip to main content

hl_subscribe JSON-RPC Method

Loading...

Updated on
May 12, 2026

hl_subscribe JSON-RPC Method

Access to /hypercore JSON-RPC methods requires a Build plan or higher. View pricing to upgrade. For complete stream type definitions and filtering options, see the datasets documentation. For concurrent stream caps and filter limits by plan, see the Streaming Limits table.

Parameters

streamType
string
REQUIRED
Loading...
filters
object
Loading...
filterName
string
Loading...

Returns

result
object
Loading...
type
string
Loading...
stream
string
Loading...
block
object
Loading...
local_time
string
Loading...
block_time
string
Loading...
block_number
integer
Loading...
events
array
Loading...
Request
1
wscat -c /ws \
2
# wait for connection
3
{"jsonrpc":"2.0","method":"hl_subscribe","params":{"streamType":"trades"},"id":1}
1
wscat -c /ws \
2
# wait for connection
3
{"jsonrpc":"2.0","method":"hl_subscribe","params":{"streamType":"trades"},"id":1}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free