outcomeFrontendOpenOrders
Open orders on outcome instruments for one user. The item shape matches frontendOpenOrders. Filter by instrumentIds and page with direction / from / limit (capped at 1000).
Through the API gateway, each order is enriched with title, slug,
outcomeNames, priceDecimals, sizeDecimals, and resolutionStatus.
These display fields are absent when calling the fullnode directly.
outcomeFrontendOpenOrdersRender resting Outcome orders with event title, slug, and outcome names attached.
User address.
`prev` (default) returns newest-first (`oid` descending). `next` returns oldest-first.
"prev""next"Cursor oid from the previous page. `prev` returns oid < from; `next` returns oid > from.
Optional instrument id list. Empty or omitted returns every outcome open order for the user. Numeric strings are also accepted. Unknown or non-outcome ids are skipped.
Maximum number of orders returned. Omitted, `0`, or values above 1000 are capped at 1000.
Optional order-state filter. Accepts a comma-separated string or an array of strings. Matching is case-insensitive against OrderState display values (`Pending`, `Open`, `PartialFilled`, `Filled`, `Canceled`, `PartialCanceled`, `Rejected`). Unknown values are skipped.
curl -X POST https://rpc.txflow-testnet.xyz/info \
-H "Content-Type: application/json" \
-H "x-api-version: 2026-08-16" \
-d '{
"type": "outcomeFrontendOpenOrders",
"user": "0x0000000000000000000000000000000000000000",
"instrumentIds": [
9001
],
"direction": "prev",
"from": 0,
"state": "",
"limit": 50
}'`0` on success.
Instrument name.
"B" = buy, "A" = sell.
Order state, e.g. `Open`.
GTD order expiry timestamp in milliseconds. `None` for non-GTD or unset orders; skipped on serialization. Wire name: `expiresAt`.
`false` on error, with `code` set and the text in `message` instead of `data`.
{
"success": true,
"code": 0,
"data": [
{
"asset": 1,
"cloid": "my-order-001",
"coin": "BTC-USDC",
"dir": "Buy",
"filledAmount": "0",
"instrumentType": "Perps",
"isPositionTpsl": false,
"isTrigger": false,
"leverage": 10,
"limitPx": "66539.0",
"marginMode": "Cross",
"oid": 211558907950,
"orderType": "Limit",
"origSz": "0.0010",
"positionMode": "OneWay",
"reduceOnly": false,
"side": "B",
"state": "Open",
"sz": "0.0010",
"tif": "GTC",
"timestamp": 1791893561993,
"triggerCondition": "",
"triggerPx": ""
}
]
}