Liking cljdoc? Tell your friends :D

binance-clj.encoding

Deterministic REST and WebSocket API parameter canonicalization.

Deterministic REST and WebSocket API parameter canonicalization.
raw docstring

canonical-queryclj

(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.
sourceraw docstring

canonical-ws-payloadclj

(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.
sourceraw docstring

percent-encodeclj

(percent-encode value)

Percent-encodes UTF-8 bytes using RFC 3986 unreserved characters.

Percent-encodes UTF-8 bytes using RFC 3986 unreserved characters.
sourceraw docstring

wire-valueclj

(wire-value value)

Serializes one scalar parameter value without precision loss.

Serializes one scalar parameter value without precision loss.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close