Kansen logoKansen
Users
GET
/user/{addr}/closed-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/closed-positions"
[
  {
    "proxyWallet": "string",
    "asset": "string",
    "conditionId": "string",
    "avgPrice": 0,
    "totalBought": 0,
    "realizedPnl": 0,
    "curPrice": 0,
    "timestamp": 0,
    "title": "string",
    "slug": "string",
    "icon": "string",
    "eventSlug": "string",
    "outcome": "string",
    "outcomeIndex": 0,
    "endDate": "2019-08-24T14:15:22Z"
  }
]