Kansen logoKansen
Users
GET
/user/{addr}/positions

Path Parameters

addr*string

Proxy wallet address.

Query Parameters

limit?integer
Range1 <= value
offset?integer
Range0 <= value

Response Body

application/json

curl -X GET "https://example.com/user/string/positions"
[
  {
    "asset": "string",
    "conditionId": "string",
    "eventSlug": "string",
    "icon": "string",
    "title": "string",
    "slug": "string",
    "outcome": "string",
    "outcomeIndex": 0,
    "size": 0,
    "avgPrice": 0,
    "curPrice": 0,
    "initialValue": 0,
    "currentValue": 0,
    "cashPnl": 0,
    "percentPnl": 0,
    "realizedPnl": 0,
    "percentRealizedPnl": 0,
    "endDate": "2019-08-24T14:15:22Z",
    "negativeRisk": true,
    "proxyWallet": "string"
  }
]