1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
use Arc;
use crateHttpCore;
use crateResult;
use crate*;
/// WebSocket channel for live Robinhood Chain KOL trades.
///
/// Subscribe to this after connecting to [`StreamToken::ws_url`] to receive
/// every tracked-KOL buy/sell on chain 4663 the moment it lands.
pub const RHC_KOL_TRADES: &str = "rhc:kol_trades";
/// WebSocket channel for the full Robinhood Chain DEX trade firehose.
///
/// Subscribe to this after connecting to [`StreamToken::ws_url`] to receive
/// every Uniswap v2/v3/v4 swap on chain 4663 (PRO+).
pub const RHC_TRADES: &str = "rhc:trades";
/// WebSocket streaming: issue a token, list live sessions, evict a session.
///
/// Connect to [`StreamToken::ws_url`] with `?token=<token>` appended, then
/// subscribe to the Robinhood Chain channels [`RHC_KOL_TRADES`] and
/// [`RHC_TRADES`]. The same `wss://madeonsol.com/stream` protocol as the Solana
/// stream client.