Skip to main content
cURL
curl --request GET \
  --url https://test.deribit.com/api/v2/private/edit_block_rfq_quote \
  --header 'Content-Type: application/json' \
  --data '
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "private/edit_block_rfq_quote",
  "params": {
    "label": "example_quote",
    "block_rfq_id": 3,
    "amount": 20000,
    "direction": "buy",
    "legs": [
      {
        "instrument_name": "BTC-15NOV24",
        "price": 74600,
        "ratio": "1",
        "direction": "buy"
      }
    ],
    "hedge": {
      "amount": 10,
      "direction": "buy",
      "price": 70000,
      "instrument_name": "BTC-PERPETUAL"
    },
    "execution_instruction": "any_part_of"
  }
}
'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "label": "example_quote",
    "amount": 20000,
    "direction": "buy",
    "price": 74600,
    "legs": [
      {
        "direction": "buy",
        "price": 74600,
        "instrument_name": "BTC-15NOV24",
        "ratio": 1
      }
    ],
    "creation_timestamp": 1731076586371,
    "block_rfq_id": 3,
    "replaced": true,
    "filled_amount": 0,
    "last_update_timestamp": 1731076638591,
    "hedge": {
      "amount": 10,
      "direction": "buy",
      "price": 70000,
      "instrument_name": "BTC-PERPETUAL"
    },
    "block_rfq_quote_id": 8,
    "quote_state": "open"
  }
}

Query Parameters

legs
string
required

List of legs used for Block RFQ quote JSON string containing array of objects

amount
number
required

This value multiplied by the ratio of a leg gives trade size on that leg. 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.

block_rfq_quote_id
integer

ID of the Block RFQ quote

label
string

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

hedge
string

Hedge leg of the Block RFQ. There is only one hedge leg allowed per Block RFQ JSON string containing: object data

block_rfq_id
integer

ID of the Block RFQ

price
number

Aggregated price used for quoting future spreads.

Response

200 - application/json

Success response

jsonrpc
enum<string>
required

The JSON-RPC version (2.0)

Available options:
2.0
result
object
required
id
integer

The id that was sent in the request