curl --request GET \
--url https://test.deribit.com/api/v2/private/get_broker_trade_requests \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": 7,
"method": "private/get_broker_trade_requests",
"params": {}
}
'{
"jsonrpc": "2.0",
"id": 7,
"result": [
{
"timestamp": 1742824052547,
"state": "activated",
"trades": [
{
"amount": 100000,
"direction": "buy",
"price": 87516.83,
"instrument_name": "BTC-PERPETUAL"
}
],
"maker": {
"state": "initial",
"client_id": 1,
"user_id": "***009",
"client_name": "Test Client",
"client_link_name": "Test Client 2",
"client_link_id": 2
},
"taker": {
"state": "initial",
"client_id": 1,
"user_id": "***008",
"client_name": "Test Client",
"client_link_name": "Test Client 1",
"client_link_id": 1
},
"nonce": "3WqPoAsmde9aXCSEBVUmi2XxGkgA"
},
{
"timestamp": 1742824052538,
"state": "activated",
"trades": [
{
"amount": 100000,
"direction": "buy",
"price": 87516.83,
"instrument_name": "BTC-PERPETUAL"
}
],
"maker": {
"state": "approved",
"client_id": 1,
"user_id": "***009",
"client_name": "Test Client",
"client_link_name": "Test Client 2",
"client_link_id": 2
},
"taker": {
"state": "initial",
"client_id": 1,
"user_id": "***008",
"client_name": "Test Client",
"client_link_name": "Test Client 1",
"client_link_id": 1
},
"nonce": "29rKkuD3NSBPet4njrpNWEuHBm9s"
}
]
}Broker Method Provides a list of broker block trade requests including pending approvals, declined trades, and expired trades. timestamp and nonce received in response can be used to approve or reject the pending broker block trade. This method takes no parameters.
Scope: block_trade:read
curl --request GET \
--url https://test.deribit.com/api/v2/private/get_broker_trade_requests \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": 7,
"method": "private/get_broker_trade_requests",
"params": {}
}
'{
"jsonrpc": "2.0",
"id": 7,
"result": [
{
"timestamp": 1742824052547,
"state": "activated",
"trades": [
{
"amount": 100000,
"direction": "buy",
"price": 87516.83,
"instrument_name": "BTC-PERPETUAL"
}
],
"maker": {
"state": "initial",
"client_id": 1,
"user_id": "***009",
"client_name": "Test Client",
"client_link_name": "Test Client 2",
"client_link_id": 2
},
"taker": {
"state": "initial",
"client_id": 1,
"user_id": "***008",
"client_name": "Test Client",
"client_link_name": "Test Client 1",
"client_link_id": 1
},
"nonce": "3WqPoAsmde9aXCSEBVUmi2XxGkgA"
},
{
"timestamp": 1742824052538,
"state": "activated",
"trades": [
{
"amount": 100000,
"direction": "buy",
"price": 87516.83,
"instrument_name": "BTC-PERPETUAL"
}
],
"maker": {
"state": "approved",
"client_id": 1,
"user_id": "***009",
"client_name": "Test Client",
"client_link_name": "Test Client 2",
"client_link_id": 2
},
"taker": {
"state": "initial",
"client_id": 1,
"user_id": "***008",
"client_name": "Test Client",
"client_link_name": "Test Client 1",
"client_link_id": 1
},
"nonce": "29rKkuD3NSBPet4njrpNWEuHBm9s"
}
]
}Was this page helpful?