Vault
Get user vault state and active positions
Changed onReturns the user's vault balance and active positions. Returns data: null (200 OK) if the user has no vault yet (the vault is created with your first filled position).
get/v1/vault
Request
- Base URLhttps://api.totalis.trade
- Auth
- HTTP bearer
- or API key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
OK. Vault state or null if no vault exists
Changes
- warning
added the new
bought_backenum value to the///////response property for the response status - warning
added the new
bought_back_pending_dbenum value to the///////response property for the response status - warning
added the new
reconciling_bought_back_dbenum value to the///////response property for the response status
- warning
- info
endpoint added
- info