Channels
Block proposals
Channel name: block_proposals. Public channel that streams the listed block proposals. It sends a proposal when it is sent and when it ends: executed, cancelled or expired. It also sends it with status executing if the outcome of an accept is not known. An accept that fails and leaves the proposal open sends no event. Each event carries the whole proposal, in the public/get_block_proposals shape, and never shows a wallet, a subaccount or a signature. Takes no parameters.
WSS
/
v3
/
ws
Messages
{
"id": 1,
"method": "subscribe",
"params": {
"channels": [
"orderbook.ETH-PERP.10.20"
]
}
}No examples found{
"block_trade_id": "<string>",
"creation_timestamp": 123,
"currency": "<string>",
"direction": "<string>",
"expires_at_sec": 123,
"last_update_timestamp": 123,
"legs": {
"amount": "<string>",
"direction": "<string>",
"instrument_name": "<string>",
"price": "<string>"
},
"listed": true,
"proposal_id": "<string>",
"risk_universe_id": 123,
"status": "<string>"
}subscribeRequest
type:object
Send to subscribe: list this channel's address (with the {param} segments filled, e.g. orderbook.ETH-PERP.10.20) in params.channels.
unsubscribeRequest
type:object
Send to unsubscribe: list the channel addresses to drop in params.channels, or omit it to unsubscribe from everything.
blockProposalsNotification
type:object
Messages
{
"id": 1,
"method": "subscribe",
"params": {
"channels": [
"orderbook.ETH-PERP.10.20"
]
}
}No examples found{
"block_trade_id": "<string>",
"creation_timestamp": 123,
"currency": "<string>",
"direction": "<string>",
"expires_at_sec": 123,
"last_update_timestamp": 123,
"legs": {
"amount": "<string>",
"direction": "<string>",
"instrument_name": "<string>",
"price": "<string>"
},
"listed": true,
"proposal_id": "<string>",
"risk_universe_id": 123,
"status": "<string>"
}