# Collateral Breakdown

Per-asset collateral entry for multi-asset margin accounts. Used in [`positions`](/for-partners/endpoints/user-positions.md) as a nested array in `collateralBreakdown`.

## Schema

| Field       | Type   | Required | Description                                                                                                                              |
| ----------- | ------ | -------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
| `asset`     | string | yes      | Asset symbol e.g. `"BTC"`, `"ETH"`, `"USDC"`.                                                                                            |
| `amount`    | number | yes      | Raw token amount of this asset posted as collateral.                                                                                     |
| `amountUsd` | number | yes      | USD value of `amount` at the time of the response.                                                                                       |
| `haircut`   | number | yes      | Collateral factor (0–1). Fraction of USD value credited toward margin. e.g. `0.85` = 85 cents of margin credit per dollar of this asset. |

## Example

```json
[
  {
    "asset": "BTC",
    "amount": 0.01,
    "amountUsd": 670.0,
    "haircut": 0.95
  },
  {
    "asset": "ETH",
    "amount": 0.5,
    "amountUsd": 1750.0,
    "haircut": 0.90
  }
]
```

## Notes

* `amountUsd` should be calculated at the current mark price of each asset at response time.
* The sum of `amount * haircut` across all entries determines the effective margin the position can use.
* Only present when the DEX supports multi-asset collateral (`collateralBreakdown` in `RawPosition`).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.dexpal.io/for-partners/schemas/collateral-breakdown.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
