HTX Get Spot Margin Snapshot
htx_get_spot_margin_snapshotRetrieve spot-margin balances, debt/risk metrics, and loan quotas to preflight borrowing, repayment, or margin-funded trades.
Instructions
Return compact spot-margin balances, debt/risk fields, and current loan quotas.
This read-only preflight is designed to precede borrowing, repayment, or any margin-funded trade.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instrument | No | Required isolated-margin symbol; omit for cross margin. | |
| include_raw | No | When true, include the original HTX envelopes in addition to compact normalized data. | |
| margin_mode | Yes | Spot-margin mode: isolated per symbol or cross across currencies. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||