Get realtime rfqs
Retrieves RFQ information sent or received by the user from the RFQ engine with no delay.
Endpoint
block/rfqs/get_rfqs
Parameters(params)
| Parameter |
Type |
Required |
Description |
| role |
string |
false |
The role of the desk in the created RFQ. Valid values include: taker, maker |
| label |
string |
false |
User defined id for the Block RFQ (maximum 32 characters) |
| blockRfqId |
string |
false |
ID of the Block RFQ |
Request Example
{
"rid": 20001,
"method": "block/rfqs/get_rfqs",
"params": {
"role": "taker",
"label": null,
"blockRfqId": null
}
}
Response(result)
| Name |
Type |
Description |
| blockRfqs |
Array of Objects |
Array of Objects with details related to specific Instruments. |
| > blockRfqId |
string |
The exchange created unique identifier of the RFQ. |
| > label |
string |
RFQ creator label of the RFQ. |
| > makers |
Array of strings |
List of targeted Block RFQ makers |
| > createdAt |
long |
The time in UNIX milliseconds since the epoch when the RFQ was created. |
| > updatedAt |
long |
The time in UNIX milliseconds since the epoch when the RFQ was updated. |
| > expiresAt |
long |
The time in UNIX milliseconds since the epoch when the RFQ expires. |
| > strategyType |
string |
Strategy type. If the RFQ is custom, strategyType is custom. If it is a system-provided product combination, use the combination's type. Defaults to custom. |
| > status |
string |
The availability of the RFQ to trade. Valid values include (Active/PendingFill/Canceled/Filled/Expired/Failed) |
| > taker |
string |
The taker's deskCode, serving as a unique identifier. |
| > legs |
Array of Objects |
The composite Instrument legs of the RFQ. |
| >> kind |
string |
Product type. spot,linear,inverse,option |
| >> symbol |
string |
The real exchange instrument name. |
| >> side |
string |
The direction of the composite leg relative to the RFQ. Valid values include Buy, or Sell |
| >> quantity |
string |
Order quantity of the instrument. |
Response Example
{
"rid": 20001,
"result": {
"blockRfqs": [
{
"blockRfqId": "1758011245204812373274163108396211",
"label": "TakerTeststrategy123",
"makers": [
"LP591031",
"LP1412200",
"LP420185"
],
"createdAt": 1758011245208,
"updatedAt": 1758011245208,
"expiresAt": 1758011845208,
"strategyType": "custom",
"status": "Active",
"taker": "LP1411957",
"legs": [
{
"kind": "option",
"symbol": "BTC-26JUN26-200000-P-USDT",
"side": "Buy",
"quantity": "1.0"
}
]
}
]
}
}