Returns a list of the user's block trades. If currency is not provided, returns block trades for all currencies. block_rfq_id can be provided to receive block trades related to that particular Block RFQ.
📖 Related Article: Block Trading
Scope: block_trade:read
Request
- Base URLhttps://test.deribit.com/api/v2
- URLhttps://test.deribit.com/api/v2/private/get_block_trades
- Authnone declared
Query parameters
Currency, i.e "BTC", "ETH", "USDC"
The currency symbol
Count of Block Trades returned, maximum - 101
Block trade id
Response will contain block trades older than the one provided in this field
Block trade id
The id of the oldest block trade to be returned, start_id is required with end_id
ID of the Block RFQ
Broker code to filter block trades. Only broker clients can use broker_code to filter broker block trades. Use any for all block trades.
Response
Success response
Example response
{
"result": [
{
"id": "154",
"timestamp": 1536569522277,
"trades": [
{
"instrument_name": "BTC-PERPETUAL",
"timestamp": 1517329113791,
"starbase_timestamp": 1536569522277000000,
"starbase_order_id": 103148386170,
"block_trade_id": "154",
"block_trade_leg_count": 3
}
],
"app_name": "Example Application",
"broker_code": "2krM7sJsx",
"broker_name": "Test Broker"
}
]
}Changes
- info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status
- info
- warning
removed the optional property
////from the response with the status - info
added the optional property
////to the response with the status
- warning