The examples on this page use Hyperliquid (
provider: 'hyperliquid'). Replace the provider value with any supported provider from getProviders().Parameters
Returns
PositionsResponse:
Position fields
Prices and PnL are in quote-currency units;
size is in base-asset units.
Data shapes: getPositions — a direct-to-provider read, not a LI.FI HTTP endpoint.