Import
Usage
Parameters
HyperliquidConfig
where to reach Hyperliquid’s info endpoint
Returns
PerpMarket[]
one entry per tradeable perp market, with a live mark price
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
List every tradeable Hyperliquid perpetual market.
import { getPerpMarkets } from '@rhinestone/sdk/hypercore'
const markets = await getPerpMarkets()
markets.map((market) => market.asset) // ['BTC', 'ETH', ...]
Was this page helpful?