outcomePositions
A user's outcome positions. Parallel to clearinghouseState with accountType=outcome, but the response is only the assetPositions array — it does not include margin summaries or withdrawable.
Through the API gateway, each position is enriched with title, slug,
outcomeNames, priceDecimals, sizeDecimals, and resolutionStatus from
indexed Outcome metadata. These display fields are absent when calling the
fullnode directly.
outcomePositionsList a user’s Outcome positions with event title and outcome names attached.
Channel to read. Required, no default: use `1` for Outcome markets. Omitting it returns an empty array.
User address.
Optional instrument id list. Empty or omitted returns every outcome position for the user.
curl -X POST https://rpc.txflow-testnet.xyz/info \
-H "Content-Type: application/json" \
-H "x-api-version: 2026-08-16" \
-d '{
"type": "outcomePositions",
"user": "0x0000000000000000000000000000000000000000",
"instrumentIds": [
9001
],
"exchangeId": 1
}'`0` on success.
Outcome positions only. Unlike `clearinghouseState`, this response is the `assetPositions` array — it does not include margin summaries or `withdrawable`.
`false` on error, with `code` set and the text in `message` instead of `data`.
{
"success": true,
"code": 0,
"data": [
{
"position": {
"adlQuantile": 0,
"asset": "4",
"coin": "4",
"cumFunding": {
"allTime": "",
"sinceChange": "",
"sinceOpen": ""
},
"entryPx": "0",
"leverage": {
"rawUsd": "",
"type": "",
"value": 0
},
"liquidationPx": "0",
"marginRatio": "",
"marginUsed": "",
"markPx": "0",
"maxLeverage": 0,
"positionValue": "",
"returnOnEquity": "",
"szi": "",
"unrealizedPnl": "",
"updateTime": 1700000000000
},
"tpsl": [
{
"createTime": 1700000000000,
"quantity": "0",
"slOid": "",
"slOrderPrice": "0",
"slOrderType": "",
"slTriggerPrice": "0",
"tpOid": "",
"tpOrderPrice": "0",
"tpOrderType": "",
"tpTriggerPrice": "0"
}
],
"type": ""
}
]
}