{
"jsonrpc": "2.0",
"method": "subscription",
"params": {
"subscription": "0x2b3c4d5e6f7a...",
"channel": "trades",
"filters": {
"symbols": [
"BTC"
]
},
"result": {
"symbol": "BTC",
"id": "123456789",
"price": "65000.0",
"amount": "0.01",
"side": "buy",
"timestamp": 1710000000000,
"dexProcessedTimestamp": 1710000000000,
"dexReceivedTimestamp": 1710000000050,
"hyperethTimestamp": 1710000000100
}
}
}Real-time trade executions (available on hyperliquid, aster, lighter, and kuru servers)
{
"jsonrpc": "2.0",
"method": "subscription",
"params": {
"subscription": "0x2b3c4d5e6f7a...",
"channel": "trades",
"filters": {
"symbols": [
"BTC"
]
},
"result": {
"symbol": "BTC",
"id": "123456789",
"price": "65000.0",
"amount": "0.01",
"side": "buy",
"timestamp": 1710000000000,
"dexProcessedTimestamp": 1710000000000,
"dexReceivedTimestamp": 1710000000050,
"hyperethTimestamp": 1710000000100
}
}
}API key for authentication (required for private channels)
Trade execution data