Endpoint
Request Body
| Parameter | Type | Description |
|---|---|---|
type* | string | Must be "userFills" |
user* | string | User’s wallet address (case-insensitive), e.g., "0x1234567890abcdef..." |
Response
Response Fields
| Field | Type | Description |
|---|---|---|
coin | string | Asset symbol (BTC, ETH, etc.) |
px | string | Fill price |
sz | string | Fill size |
side | string | ”B” for buy, “A” for sell/ask |
time | number | Fill timestamp (ms) |
startPosition | string | Position size before fill |
dir | string | Direction (Open Long, Close Short, etc.) |
closedPnl | string | Realized PnL from closing position |
hash | string | Transaction hash |
oid | number | Order ID |
crossed | boolean | True if taker order, false if maker |
fee | string | Trading fee paid |
tid | number | Trade ID |
feeToken | string | Fee token (always “USDC”) |
Example Request
Error Responses
Notes
- Fills returned in reverse chronological order (newest first)
crossed: true= taker,crossed: false= makerclosedPnlis only non-zero when closing a position- Direction values:
"Open Long","Open Short","Close Long","Close Short"