Get rfq trades
This method returns a list of recent Block RFQ trades from the past 7 days, optionally filtered by currency.
Endpoint
block/rfqs/get_trades
Parameters(params)
| Parameter |
Type |
Required |
Description |
| blockRfqId |
string |
false |
ID of the Block RFQ |
| blockRfqLabel |
string |
false |
User defined label for the Block RFQ (maximum 32 characters) |
| quoteId |
string |
false |
ID of the Block RFQ quote |
| quoteLabel |
string |
false |
User defined label for the Quote (maximum 32 characters) |
| role |
string |
false |
The role of the desk. Valid values include: taker, maker |
| status |
string |
false |
Filled, Failed |
| continuation |
string |
false |
Continuation token for pagination |
| count |
integer |
false |
Number of results to return, maximum 100, default 50 |
Request Example
{
"rid": 30003,
"method": "block/rfqs/get_trades",
"params": {
"role": "taker",
"count": 20
}
}
Response(result)
| Name |
Type |
Description |
| continuation |
string |
Continuation token for pagination. NULL when no continuation. Consists of timestamp and blockRfqId |
| results |
array of objects |
Array of trade objects |
| > blockRfqId |
string |
ID of the Block RFQ |
| > quoteId |
string |
Returns the executed quote ID for RFQs that have been filled |
| > quoteSide |
string |
Returns the execution direction (Buy or Sell) for RFQs that have been filled |
| > strategyType |
string |
Product strategy |
| > status |
string |
Status: Filled/Failed |
| > taker |
string |
The taker's deskCode, serving as a unique identifier. Not visible when anonymous |
| > maker |
string |
The maker's deskCode, serving as a unique identifier. Not visible when anonymous |
| > createdAt |
long |
The time in UNIX milliseconds since the epoch when the Quote was created |
| > updatedAt |
long |
The time in UNIX milliseconds since the epoch when the Quote was updated |
| > legs |
array of objects |
Combination trade |
| >> kind |
string |
Product type. spot,linear,inverse,option |
| >> orderId |
string |
The exchange order ID |
| >> symbol |
string |
Instrument name |
| >> side |
string |
The direction of the leg. Buy or Sell |
| >> price |
string |
Execution price |
| >> quantity |
string |
Execution quantity |
| >> markPrice |
string |
Mark price at execution |
| >> fee |
string |
Execution fee |
| >> execId |
string |
Execution ID |
| >> resultCode |
integer |
Order status code, 0 indicates success |
| >> resultMessage |
string |
Error message, empty if successful |
| >> rejectParty |
string |
Rejecting party, empty if successful |
Response Example
{
"rid": 30003,
"result": {
"continuation": "",
"results": [
{
"blockRfqId": "1758100528103099206558973946916739",
"quoteId": "175810052851152410235291948607935",
"quoteSide": "Buy",
"strategyType": "custom",
"status": "Filled",
"taker": "LP1411957",
"createdAt": 1758100528105,
"updatedAt": 1758100529082,
"legs": [
{
"kind": "option",
"orderId": "68eec907-5f6f-4120-a269-5b269216391e",
"symbol": "BTC-26JUN26-200000-P-USDT",
"side": "Sell",
"price": "75000",
"quantity": "1",
"markPrice": "119991.08",
"fee": "21.00840289",
"execId": "6569439f-d4bb-4c21-a678-848cf6bb216b",
"resultCode": 0,
"resultMessage": "",
"rejectParty": ""
}
]
}
]
}
}