Skip to main content
cURL
curl --request GET \
  --url https://test.deribit.com/api/v2/private/approve_block_trade \
  --header 'Content-Type: application/json' \
  --data '
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "private/approve_block_trade",
  "params": {
    "timestamp": 1711468813551,
    "nonce": "bt-468nha",
    "role": "maker"
  }
}
'
{
  "jsonrpc": "2.0",
  "id": 1569,
  "result": "ok"
}

Query Parameters

timestamp
integer
required

Timestamp, shared with other party (milliseconds since the UNIX epoch) The timestamp (milliseconds since the Unix epoch)

Example:

1536569522277

nonce
string
required

Nonce

Example:

"bF1_gfgcsd"

role
enum<string>
required

Describes if user wants to be maker or taker of trades Trade role of the user: maker or taker

Available options:
maker,
taker

Response

200 - application/json

Success response

jsonrpc
enum<string>
required

The JSON-RPC version (2.0)

Available options:
2.0
result
enum<string>
required

Result of method execution. ok in case of success

Available options:
ok
id
integer

The id that was sent in the request