# Leverage Tier

One tier in a market's leverage schedule, where maximum allowed leverage decreases as position size increases. Used in [`markets`](/for-partners/endpoints/dex-markets.md) as a nested array in `leverageTiers`.

## Schema

| Field                   | Type   | Required | Description                                                                                                         |
| ----------------------- | ------ | -------- | ------------------------------------------------------------------------------------------------------------------- |
| `notionalFloor`         | number | yes      | Minimum notional position size in USD for this tier (inclusive).                                                    |
| `notionalCeil`          | number | yes      | Maximum notional position size in USD for this tier (inclusive). Use a large number (e.g. `1e15`) for the top tier. |
| `maxLeverage`           | number | yes      | Maximum leverage allowed within this notional range.                                                                |
| `maintenanceMarginRate` | number | yes      | Maintenance margin rate as a decimal. e.g. `0.005` = 0.5%.                                                          |

## Example

```json
[
  {
    "notionalFloor": 0,
    "notionalCeil": 50000,
    "maxLeverage": 100,
    "maintenanceMarginRate": 0.005
  },
  {
    "notionalFloor": 50000,
    "notionalCeil": 250000,
    "maxLeverage": 50,
    "maintenanceMarginRate": 0.01
  },
  {
    "notionalFloor": 250000,
    "notionalCeil": 1000000000000000,
    "maxLeverage": 20,
    "maintenanceMarginRate": 0.025
  }
]
```

## Notes

* Tiers should be contiguous — the `notionalCeil` of one tier equals the `notionalFloor` of the next.
* Return tiers sorted ascending by `notionalFloor`.
* `maintenanceMarginRate` is used to determine the liquidation price: position is liquidated when remaining collateral / notional ≤ `maintenanceMarginRate`.


---

# 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/leverage-tier.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.
