Vault

Get user vault state and active positions

Returns the user's vault balance and active positions. Returns data: null (200 OK) if the user has no vault yet (vault is created on first trade).

get/v1/vault

Response

OK — vault state or null if no vault exists

Changes

Changed in 2 of the 49 revisions of this API.31

    • added the new bought_back enum value to the data/allOf[UserVaultResponse]/positions/items/status response property for the response status 200

      response-property-enum-value-added

    • added the new bought_back_pending_db enum value to the data/allOf[UserVaultResponse]/positions/items/status response property for the response status 200

      response-property-enum-value-added

    • added the new reconciling_bought_back_db enum value to the data/allOf[UserVaultResponse]/positions/items/status response property for the response status 200

      response-property-enum-value-added

    • endpoint added

      endpoint-added