Deterministic REST and WebSocket API parameter canonicalization.
Deterministic REST and WebSocket API parameter canonicalization.
(canonical-query parameters)Builds the exact deterministic REST query/form payload.
Maps are sorted by wire key. A sequence of pairs preserves its explicit order, allowing endpoint specs to reproduce Binance's documented wire examples. Nil values are omitted; scalar keys and values are percent-encoded separately.
Builds the exact deterministic REST query/form payload. Maps are sorted by wire key. A sequence of pairs preserves its explicit order, allowing endpoint specs to reproduce Binance's documented wire examples. Nil values are omitted; scalar keys and values are percent-encoded separately.
(canonical-ws-payload parameters)Builds a Binance WebSocket API signature payload.
Parameter names are sorted alphabetically, signature is excluded, and UTF-8
values remain unescaped exactly as required by the WebSocket API contract.
Builds a Binance WebSocket API signature payload. Parameter names are sorted alphabetically, `signature` is excluded, and UTF-8 values remain unescaped exactly as required by the WebSocket API contract.
(percent-encode value)Percent-encodes UTF-8 bytes using RFC 3986 unreserved characters.
Percent-encodes UTF-8 bytes using RFC 3986 unreserved characters.
(wire-value value)Serializes one scalar parameter value without precision loss.
Serializes one scalar parameter value without precision loss.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |