{
"jsonrpc": "2.0",
"method": "public/subscribe",
"id": 42,
"params": {
"channels": [
"block_rfq.trades.(currency)"
]
}
}{
"data": {
"id": 939,
"timestamp": 1739869829823,
"amount": 50,
"direction": "sell",
"combo_id": "BTC-PERPETUAL",
"legs": [
{
"direction": "buy",
"price": 95318.72,
"instrument_name": "BTC-PERPETUAL",
"ratio": 1
}
],
"trades": [
{
"amount": 50,
"direction": "sell",
"price": 95318.72
}
],
"mark_price": 95318.72
}
}Get notification about recent Block RFQ trades
{
"jsonrpc": "2.0",
"method": "public/subscribe",
"id": 42,
"params": {
"channels": [
"block_rfq.trades.(currency)"
]
}
}{
"data": {
"id": 939,
"timestamp": 1739869829823,
"amount": 50,
"direction": "sell",
"combo_id": "BTC-PERPETUAL",
"legs": [
{
"direction": "buy",
"price": 95318.72,
"instrument_name": "BTC-PERPETUAL",
"ratio": 1
}
],
"trades": [
{
"amount": 50,
"direction": "sell",
"price": 95318.72
}
],
"mark_price": 95318.72
}
}Currency code
Client sends subscription request to subscribe to notification channel. Please refer to Notification page for more information.
Server sends subscription notification data
Was this page helpful?