This endpoint is a 1-1 drop in replacement for the userFills and userFillsByTime in HyperliquidHowever there are no limits to how far back you can go when fetching fills.
Authorizations
Body
application/json
Type of fills to retrieve
Available options:
userFills
, userFillsByTime
, userTwapSliceFills
User's wallet address (hex string)
Start time filter (Unix timestamp in milliseconds). Required for userFillsByTime type.
End time filter (Unix timestamp in milliseconds)
Whether to aggregate fills by time
Response
Fills retrieved successfully
Closed PnL from this fill
Trading pair symbol
Whether the fill crossed the spread
Direction of the fill
Transaction hash
Order ID
Fill price
Order side (A for long/buy, B for short/sell)
Position size before fill
Fill size
Fill timestamp
Fee amount
Fee token symbol
Trade ID
Liquidation details if this was a liquidation