Skip to main content
Collateral Account Hedge Mode

Authorizations

X-TXC-APIKEY
string
header
required

The public WhiteBIT API key.

X-TXC-PAYLOAD
string
header
required

Base64-encoded JSON request body.

X-TXC-SIGNATURE
string
header
required

HMAC-SHA512 signature of the payload, hex-encoded. Computed as hex(HMAC-SHA512(payload, api_secret)).

Body

application/json
request
string
Example:

"{{request}}"

nonce
integer
Example:

1594297865000

Response

Successful response - returns hedge mode status

hedgeMode
boolean

Indicates whether hedge mode is active. When true, the account supports simultaneous long and short positions on the same market.

Example:

true