Wallet block proposals
Channel name: {wallet}.block_proposals. Private channel (requires authentication) that streams the block proposals that you made or received as recipient_wallet, where is your wallet address in EIP-55 checksummed form. The server does not normalize the case of the channel name, so a subscription with any other casing receives nothing. The maker and the recipient of a proposal receive it when it is sent and when it ends: executed, cancelled, declined or expired. They also receive 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 private/get_block_proposals shape.
{
"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,
"maker_wallet": "<string>",
"proposal_id": "<string>",
"recipient_wallet": "<string>",
"risk_universe_id": 123,
"status": "<string>"
}Send to subscribe: list this channel's address (with the {param} segments filled, e.g. orderbook.ETH-PERP.10.20) in params.channels.
Send to unsubscribe: list the channel addresses to drop in params.channels, or omit it to unsubscribe from everything.
{
"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,
"maker_wallet": "<string>",
"proposal_id": "<string>",
"recipient_wallet": "<string>",
"risk_universe_id": 123,
"status": "<string>"
}