Collateral Account Summary
Collateral Account Summary
Get a summary of your collateral account including positions, margin, and unrealized PnL via the V4 API.
POST
Collateral Account Summary
Authorizations
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
Response
Successful response - returns collateral account summary
Total equity value of the collateral account
Example:
"15000.50"
Total margin used
Example:
"5000.00"
Available margin for trading
Example:
"10000.50"
Unrealized funding payments
Example:
"25.75"
Unrealized profit and loss
Example:
"150.25"
Current leverage level
Example:
3
Margin fraction ratio (margin / equity)
Example:
"0.3333"