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

# Markets 🌱

> Listed perpetual markets on Arbitrum for GMX and Ostium.

### Table Details

| Property | Value |
| - | - |
| Table Name | `arbitrum.perpetuals.markets` |
| Table Status | Beta 🌱 |
| Unique Key | `unique_id` |

`arbitrum.perpetuals.markets` has one row per listed perpetual market. Current coverage is GMX v1, GMX v2, and Ostium v1. GMX `market_symbol` is the index symbol and is not unique across markets; use `unique_id` to identify a market. `pair_index` is set for Ostium and null for GMX.

### Table Columns

| Column Name | Data Type | Description |
| - | - | - |
| project | VARCHAR(16777216) | The perpetuals project, such as `gmx` or `ostium`. |
| protocol | VARCHAR(16777216) | The protocol within the project. |
| version | VARCHAR(16777216) | Protocol contract version. |
| chain | VARCHAR(16777216) | Blockchain network. |
| pair\_index | NUMBER(38,0) | Venue pair index. Set for Ostium. Null for GMX. |
| market\_symbol | VARCHAR(16777216) | Symbol for the market when one is available. Not unique for GMX. |
| from\_symbol | VARCHAR(16777216) | Base symbol when the venue uses a from-to pair. |
| to\_symbol | VARCHAR(16777216) | Quote symbol when the venue uses a from-to pair. |
| max\_leverage | NUMBER(38,6) | Current maximum leverage for the market. Null when the protocol has not published one. |
| extra\_fields | VARIANT | Protocol-specific market metadata. |
| unique\_id | VARCHAR(16777216) | Unique identifier for the row. |
| \_created\_at | TIMESTAMP\_NTZ(9) | Timestamp of when the entry was created in the database. |
| \_updated\_at | TIMESTAMP\_NTZ(9) | Timestamp of when the entry was last updated in the database. |

### Sample Query

```sql theme={null}
SELECT *
FROM arbitrum.perpetuals.markets
WHERE project = 'ostium'
LIMIT 100;
```
