Module auth

Module auth 

Source
Expand description

OKX API authentication module.

Implements HMAC-SHA256 signing with Base64 encoding for OKX API requests. OKX requires the following headers for authenticated requests:

  • OK-ACCESS-KEY: API key
  • OK-ACCESS-SIGN: HMAC-SHA256 signature (Base64 encoded)
  • OK-ACCESS-TIMESTAMP: ISO 8601 timestamp
  • OK-ACCESS-PASSPHRASE: API passphrase

Structsยง

OkxAuth
OKX API authenticator.