Skip to content

v0.3.3

Choose a tag to compare

@github-actions github-actions released this 15 Jun 22:20
d475efb

Added

  • GET /account/rate-limit — query the caller's current rate-limit tier, ceiling, remaining requests, and reset timestamp without consuming a token (#4)
  • POST /account/credit — claim synthetic USDX against a per-API-key daily allowance (default 500 USDX/day, resets at midnight UTC). Omit amount to claim the full remaining allowance. Documented since the Gate 2 release but missing from the spec.
  • POST /orders/batch description — sequential, non-atomic processing; per-order results preserve request order
  • POST /auth/login — documented the 24-hour session token expiry

Fixed

  • GET /ws protocol documentation now matches the implementation: messages are JSON envelopes tagged with an op field (subscribe / unsubscribe client ops; subscribed, unsubscribed, event, out_of_sync, error server ops), one channel per subscribe with an optional market field, and since / seq_at_join reconnect cursors. The previously documented untagged {"subscribe": [...]} array format belongs to the legacy GET /stream endpoint (now documented there) and is rejected by /ws.
  • GET /ws channel list corrected: trades, book, candles (public, per-market) and orders, fills, positions, balances (per-account). stats is a /stream-only channel.

Full changelog: v0.3.1...v0.3.3