frontendOpenOrders
User open orders with trigger / TP-SL fields
The default scope covers only instruments with no configured exchangeId, so
it omits Outcome orders. Pass exchangeId: 1 for the Outcome exchange, or
exchangeId: "all" for every order. For Outcome orders with event titles and
outcome names attached, use
outcomeFrontendOpenOrders.
frontendOpenOrdersRender the Open Orders tab, including trigger and TP/SL fields. Outcome orders appear only with exchangeId: 1 or "all".
Optional: instrument external id (numeric string) — the `index` value from the `perpMeta` response.
Channel to read: `0` (default platform), `1`, … or `"all"`. Outcome orders appear only with `1` or `"all"`.
Maximum number of orders returned per call.
Pagination offset.
curl -X POST https://rpc.txflow-testnet.xyz/info \
-H "Content-Type: application/json" \
-H "x-api-version: 2026-08-16" \
-d '{
"asset": "4",
"limit": 50,
"offset": 0,
"type": "frontendOpenOrders",
"user": "0x0000000000000000000000000000000000000000"
}'`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": ""
}
]
}