Skip to main content
POST
Collateral Account Summary

Authorizations

X-TXC-APIKEY
string
header
required

API Key authentication for private endpoints.

Required headers:

  • X-TXC-APIKEY: API key
  • X-TXC-PAYLOAD: Base64 encoded JSON payload
  • X-TXC-SIGNATURE: HMAC SHA512 signature

Body

application/json
request
string
Example:

"{{request}}"

nonce
string
Example:

"{{nonce}}"

Response

Successful response - returns collateral account summary

equity
string

Total equity value of the collateral account

Example:

"15000.50"

margin
string

Total margin used

Example:

"5000.00"

freeMargin
string

Available margin for trading

Example:

"10000.50"

unrealizedFunding
string

Unrealized funding payments

Example:

"25.75"

pnl
string

Unrealized profit and loss

Example:

"150.25"

leverage
integer

Current leverage level

Example:

3

marginFraction
string

Margin fraction ratio (margin / equity)

Example:

"0.3333"