> ## 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.

# getPerpMarket

> Read one Hyperliquid perpetual market by ticker.

A transaction carrying `hyperCore.openPerp` does this read itself, so reach
for this when you need the market's own facts — its mark to quote a size
against, or its `maxLeverage` before offering one.

## Import

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

## Usage

```ts theme={null}
const market = await getPerpMarket('BTC')
const maxNotional = Number(market.markPx) * market.maxLeverage
```

## Parameters

<ParamField path="asset" type="string" required>
  ticker as Hyperliquid names it — the coin alone, e.g. `BTC`
</ParamField>

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

## Returns

<ResponseField name="perpMarket" type="PerpMarket">
  the market, including its asset index, size precision, and mark
</ResponseField>

## See also

* [getPerpMarkets](/sdk-reference/hyper-core/get-perp-markets)
