Deribit · Schema

Privategetlegpricesresponse

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 object
View JSON Schema on GitHub

JSON Schema

PrivateGetLegPricesResponse.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/deribit/json-schema/PrivateGetLegPricesResponse.json",
  "title": "Privategetlegpricesresponse",
  "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": {
      "properties": {
        "legs": {
          "$ref": "#/components/schemas/leg_structure"
        },
        "amount": {
          "type": "number",
          "description": "This value multiplied by the ratio of a leg gives trade size on that leg."
        }
      },
      "type": "object"
    }
  },
  "required": [
    "jsonrpc",
    "result"
  ],
  "type": "object"
}