CCXT.WS.Auth.Sha384Nonce (ccxt_client v0.6.1)

Copy Markdown View Source

SHA384 Nonce auth pattern — bitfinex.

Signs "AUTH{nonce}" (nonce = timestamp_ms) with HMAC-SHA384 hex and builds a flat auth frame — no nested args.

Example Frame (bitfinex)

%{
  "event" => "auth",
  "apiKey" => "api_key",
  "authSig" => "hex_signature",
  "authNonce" => 1699999999999,
  "authPayload" => "AUTH1699999999999"
}

Config

KeyDefaultPurpose
:event_value"auth"Top-level event field
:timestamp_ms_override(unset)Test-only — freezes the nonce