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

# getPerpMarkets

> List every tradeable Hyperliquid perpetual market.

Delisted assets are left out, but the index of the ones returned is their
position in the full universe — Hyperliquid never renumbers it, and it is
what an order carries.

## Import

```ts theme={null}
import { getPerpMarkets } from '@rhinestone/sdk/hypercore'
```

## Usage

```ts theme={null}
const markets = await getPerpMarkets()
markets.map((market) => market.asset) // ['BTC', 'ETH', ...]
```

## Parameters

<ParamField path="options" type="HyperliquidConfig">
  where to reach Hyperliquid's info endpoint
</ParamField>

## Returns

<ResponseField name="perpMarkets" type="PerpMarket[]">
  one entry per tradeable perp market, with a live mark price
</ResponseField>

## See also

* [getPerpMarket](/sdk-reference/hyper-core/get-perp-market)
