Deribit · Schema

Privategetsubaccountsdetailsresponse

DerivativesCryptocurrencyBitcoinEthereumOptionsFuturesPerpetualsTradingMarket DataBlock TradingWebSocketFinancial

Properties

Name Type Description
jsonrpc string The JSON-RPC version (2.0)
id integer The id that was sent in the request
result array
View JSON Schema on GitHub

JSON Schema

PrivateGetSubaccountsDetailsResponse.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/deribit/json-schema/PrivateGetSubaccountsDetailsResponse.json",
  "title": "Privategetsubaccountsdetailsresponse",
  "properties": {
    "jsonrpc": {
      "type": "string",
      "enum": [
        "2.0"
      ],
      "description": "The JSON-RPC version (2.0)"
    },
    "id": {
      "type": "integer",
      "description": "The id that was sent in the request"
    },
    "result": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "uid": {
            "type": "integer",
            "description": "Account/Subaccount identifier"
          },
          "positions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/position"
            }
          },
          "open_orders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/order"
            }
          }
        },
        "required": [
          "uid",
          "positions"
        ]
      }
    }
  },
  "required": [
    "jsonrpc",
    "result"
  ],
  "type": "object"
}