Skip to main content

Import

Usage

Parameters

`0x${string}`
required
the account holding the positions — the smart account itself, since that is what the intent delivers collateral to
HyperliquidConfig
where to reach Hyperliquid’s info endpoint

Returns

PerpPosition[]
one entry per open position; empty when the account holds none

See also