Skip to main content
cURL
curl --request GET \
  --url https://test.deribit.com/api/v2/private/cancel_block_rfq \
  --header 'Content-Type: application/json' \
  --data '
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "private/cancel_block_rfq",
  "params": {
    "block_rfq_id": 366
  }
}
'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "creation_timestamp": 1729855159611,
    "block_rfq_id": 366,
    "expiration_timestamp": 1729855459611,
    "role": "taker",
    "asks": [],
    "bids": [],
    "makers": [],
    "amount": 100000,
    "legs": [
      {
        "ratio": 1,
        "instrument_name": "BTC-1NOV24",
        "direction": "sell"
      },
      {
        "ratio": 1,
        "instrument_name": "BTC-PERPETUAL",
        "direction": "buy"
      }
    ],
    "combo_id": "BTC-FS-1NOV24_PERP",
    "state": "cancelled",
    "label": "example"
  }
}

Query Parameters

block_rfq_id
integer
required

ID of the Block RFQ

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