Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request GET \ --url https://sandbox.api.btdx.io/wallets/{id}/positions \ --header 'authorization: <authorization>'
{ "_meta": { "_count": 123, "_page": { "_pageNumber": 123, "_pageSize": 123, "_totalElements": 123, "_totalPages": 123 } }, "positions": [ { "market": { "_ref": "<string>", "_ids": [ "<string>" ] }, "walletId": "<string>", "exposures": {} } ], "markets": [ { "id": "<string>", "name": "<string>", "published": true, "suspended": true, "lockAt": "2023-11-07T05:31:56Z", "settledAt": "2023-11-07T05:31:56Z", "event": { "_ref": "<string>", "_ids": [ "<string>" ] } } ] }
Fetch a list of market positions for the specified wallet, filtered by market ids
Header with the accessToken for the current session
wallet id
List of market ids to filter positions by
OK
Show child attributes