Tips:
Un-subscribe to stop streaming OnchainOHLCV data
Input Example: Unsubscribe for 1 specific pool data:
json
{"command":"message","identifier":"{\"channel\":\"OnchainOHLCV\"}","data":"{\"network_id:pool_addresses\":[\"eth:0xc7bbec68d12a0d1830360f8ec58fa599ba1b0e9b\"],\"interval\":\"1m\",\"token\":\"base\",\"action\":\"unset_pools\"}"}Output Example:
json
{
"code":2000,
"message":"Unsubscription is successful for eth:0xc7bbec68d12a0d1830360f8ec58fa599ba1b0e9b:1m:base"
}Input Example: Unsubscribe from OnchainOHLCV channel and all pools data:
json
{"command":"unsubscribe","identifier":"{\"channel\":\"OnchainOHLCV\"}"}Output Example:
json
{
"code":2000,
"message":"Unsubscription is successful for all pools"
}