Deribit · Schema

Privateacceptblockrfqresponse

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

PrivateAcceptBlockRfqResponse.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/deribit/json-schema/PrivateAcceptBlockRfqResponse.json",
  "title": "Privateacceptblockrfqresponse",
  "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": "object",
      "properties": {
        "trade_trigger": {
          "type": "object",
          "properties": {
            "state": {
              "type": "string",
              "enum": [
                "untriggered"
              ]
            },
            "price": {
              "type": "number"
            },
            "direction": {
              "type": "string",
              "enum": [
                "buy",
                "sell"
              ]
            }
          }
        },
        "block_trades": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/block_trade"
          }
        }
      },
      "required": [
        "trade_trigger",
        "block_trades"
      ]
    }
  },
  "required": [
    "jsonrpc",
    "result"
  ],
  "type": "object"
}