Skip to main content
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

Usage

Parameters

string
required
ticker as Hyperliquid names it — the coin alone, e.g. BTC
HyperliquidConfig
where to reach Hyperliquid’s info endpoint

Returns

PerpMarket
the market, including its asset index, size precision, and mark

See also