v2

OpenAPI 3.0.02026-07-311824171.4 MB
Block RFQ
Private

Maker method

Edits a Block RFQ quote using the specified block_rfq_quote_id. Alternatively, you can use a combination of block_rfq_id and label to edit the quote.

Use private/add_block_rfq_quote to add new quotes, or private/cancel_block_rfq_quote to cancel quotes.

📖 Related Article: Deribit Block RFQ API walkthrough

Scope: block_rfq:read_write

Try in API console

get/private/edit_block_rfq_quote

Query parameters

instrument_namestring

Unique instrument identifier

pricenumber

Price for trade

ratiointeger

Ratio of amount between legs

direction'buy' | 'sell'

Direction: buy, or sell

List of legs used for Block RFQ quote

[
  {
    "instrument_name": "BTC-PERPETUAL"
  }
]
amountnumber required

It represents the requested order size. For perpetual and inverse futures the amount is in USD units. For options and linear futures it is the underlying base currency coin.

This value multiplied by the ratio of a leg gives trade size on that leg.

block_rfq_quote_idinteger

ID of the Block RFQ quote

labelstring

User defined label for the Block RFQ quote (maximum 64 characters). Used to identify quotes of a selected Block RFQ

hedgestring

JSON string containing: instrument_name, direction, price, amount

Hedge leg of the Block RFQ. There is only one hedge leg allowed per Block RFQ

block_rfq_idinteger

ID of the Block RFQ

pricenumber

Aggregated price used for quoting future spreads.

Response

Success response

jsonrpc'2.0' required

The JSON-RPC version (2.0)

idinteger

The id that was sent in the request

Example response

{
  "result": {
    "creation_timestamp": 1536569522277,
    "last_update_timestamp": 1536569522277,
    "legs": [
      {
        "instrument_name": "BTC-PERPETUAL"
      }
    ],
    "hedge": {
      "instrument_name": "BTC-PERPETUAL"
    },
    "app_name": "Example Application"
  }
}