Async execution support
The CLOB is rolling out an async execution pipeline: POST /order and POST /orders responses will no longer include transactionsHashes directly and instead return tradeIDs for matched orders. This release makes the client handle that change transparently. Upgrade to >=1.1.0 before the server rollout; no code changes are required.
Changed
- When a matched order response carries
tradeIDswithouttransactionsHashes,post_orderandpost_ordersresolve the hashes internally before returning, soresponse["transactionsHashes"]keeps working as it does today. Resolution is best-effort: it never raises after a successful placement (poll failures are retried, not propagated), and on timeout the response is returned withtradeIDsso the trades can be followed viaget_tradesor the user websocket channel (#101) - Orders posted with
defer_execare returned as-is, unchanged from current behavior