userFills
Fill history. Extra filter: role is Maker or Taker. Include outcome in
accountType to return Outcome book fills and split/merge activity. Outcome
rows identify the instrument by its numeric coin/instrument id and may carry
Outcome-side metadata added by the API service.
TWAP child fills can also be read with userTwapSliceFills.
userFillsRender Trade History / reconcile executions (maker or taker fills).paged { data, hasMore, total? }
Must be `userFills`.
"userFills"Account to query. No auth — the body `user` is the subject.
Instrument tab: `["perp"]`, `["outcome"]`, or both (`perps` is accepted as an alias).
Single instrument — a name (`BTC`, `BTC-USDC`) or the numeric id from `perpMeta`. Prefer this over `contract` for one market.
`active` = instruments where this user currently has an open perps position (`szi ≠ 0`). Empty list when there is no position. Do not combine with `coin`.
"all""active"Inclusive window end, Unix milliseconds. Alias: `endTime`.
Page size. Default `300`; max `2000` (export). Values above 2000 are clamped. `<= 0` is rejected.
Skip this many newest-first rows. Omit or `0` for the first page; page N is `(N - 1) * limit`. Max `200000`. Alias: `from` on some types.
Optional liquidity-role filter.
"Maker""Taker"Request filter uses `Buy` / `Sell`. Response `side` is usually `B` / `A`.
"Buy""Sell"Inclusive window start, Unix milliseconds. Alias: `startTime`.
curl -X POST https://rpc.txflow-testnet.xyz/info \
-H "Content-Type: application/json" \
-H "x-api-version: 2026-08-16" \
-d '{
"type": "userFills",
"user": "0x0000000000000000000000000000000000000001",
"offset": 0,
"limit": 20
}'`0` on success.
Newest-first rows for this page.
`true` when more rows exist after this page. Prefer this over guessing from a missing `total`.
Omitted when the count is unknown.
{
"success": true,
"code": 0,
"data": {
"data": [
{
"coin": "BTC",
"symbol": "BTC-USDC",
"px": "65010.5",
"sz": "0.01",
"side": "B",
"time": 1720000000000,
"startPosition": "0",
"dir": "Open Long",
"closedPnl": "0",
"hash": "",
"oid": 123456,
"crossed": null,
"fee": "0.02",
"tid": 987654,
"feeToken": "USDC",
"twapId": 0,
"entryPrice": "",
"roe": "",
"tradeSide": "Taker",
"marginMode": "cross",
"leverage": 10,
"instrumentId": 1,
"instrumentType": "perps",
"marketType": "perps"
}
],
"hasMore": true,
"total": 1337
}
}