> ## Documentation Index
> Fetch the complete documentation index at: https://docs.0xarchive.io/llms.txt
> Use this file to discover all available pages before exploring further.

# LighterInstrument Schema

> Trading instrument specification (Lighter.xyz). Includes generated fields, route metadata, response shapes, and implementation-safe 0xArchive contract details.

Source OpenAPI: 0xArchive API 1.5.0; 140 paths; 119 component schemas.

Trading instrument specification (Lighter.xyz). Different schema from Hyperliquid Instrument.

## Required Fields

| Field              | Type    | Description                                   |
| ------------------ | ------- | --------------------------------------------- |
| `is_active`        | boolean | Whether the instrument is currently tradeable |
| `liquidation_fee`  | number  | Liquidation fee rate                          |
| `maker_fee`        | number  | Maker fee rate (can be negative for rebates)  |
| `market_id`        | integer | Unique market identifier                      |
| `market_type`      | string  | Type of market                                |
| `min_base_amount`  | number  | Minimum order size in base currency           |
| `min_quote_amount` | number  | Minimum order value in quote currency         |
| `price_decimals`   | integer | Price decimal precision                       |
| `quote_decimals`   | integer | Quote currency decimal precision              |
| `size_decimals`    | integer | Size decimal precision                        |
| `status`           | string  | Market status                                 |
| `symbol`           | string  | Instrument symbol                             |
| `taker_fee`        | number  | Taker fee rate (e.g., 0.0004 = 0.04%)         |

## JSON Schema

```json theme={"theme":"github-dark"}
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "LighterInstrument",
  "description": "Trading instrument specification (Lighter.xyz). Different schema from Hyperliquid Instrument.",
  "type": "object",
  "required": [
    "is_active",
    "liquidation_fee",
    "maker_fee",
    "market_id",
    "market_type",
    "min_base_amount",
    "min_quote_amount",
    "price_decimals",
    "quote_decimals",
    "size_decimals",
    "status",
    "symbol",
    "taker_fee"
  ],
  "properties": {
    "is_active": {
      "description": "Whether the instrument is currently tradeable",
      "type": "boolean",
      "example": true
    },
    "liquidation_fee": {
      "description": "Liquidation fee rate",
      "type": "number",
      "example": 0.005
    },
    "maker_fee": {
      "description": "Maker fee rate (can be negative for rebates)",
      "type": "number",
      "example": 0.0001
    },
    "market_id": {
      "description": "Unique market identifier",
      "type": "integer",
      "example": 0
    },
    "market_type": {
      "description": "Type of market",
      "type": "string",
      "enum": [
        "perp",
        "spot"
      ],
      "example": "perp"
    },
    "min_base_amount": {
      "description": "Minimum order size in base currency",
      "type": "number",
      "example": 0.001
    },
    "min_quote_amount": {
      "description": "Minimum order value in quote currency",
      "type": "number",
      "example": 1
    },
    "price_decimals": {
      "description": "Price decimal precision",
      "type": "integer",
      "example": 2
    },
    "quote_decimals": {
      "description": "Quote currency decimal precision",
      "type": "integer",
      "example": 6
    },
    "size_decimals": {
      "description": "Size decimal precision",
      "type": "integer",
      "example": 4
    },
    "status": {
      "description": "Market status",
      "type": "string",
      "enum": [
        "active",
        "inactive",
        "delisted"
      ],
      "example": "active"
    },
    "symbol": {
      "description": "Instrument symbol",
      "type": "string",
      "example": "ETH"
    },
    "taker_fee": {
      "description": "Taker fee rate (e.g., 0.0004 = 0.04%)",
      "type": "number",
      "example": 0.0004
    }
  }
}
```

## Referenced By

Use this shared schema with the generated component index and route-specific endpoint pages during implementation.
