Skip to main content

decode_mexc_push_data

Function decode_mexc_push_data 

Source
pub fn decode_mexc_push_data(bytes: &[u8]) -> Value
Expand description

Decode mexc’s PushDataV3ApiWrapper protobuf frame into the same shape protobufjs’ .toJSON() produces, so the ported handlers read it unchanged. Wires the public order-book (depth), book-ticker, deals and kline bodies.