Request
GET https://custody-example-url/custody/v1/api/projects/{b_id}/integrated/trade/rfq/price
Parameters
Field |
Type |
Description |
b_id |
String |
Business line ID |
trading_pair |
String |
Trading pairs,for example, the quote currency in the BTCUSDT trading pair is USDT, and the base currency is BTC |
base_amount |
String |
base currency amount, if the quote currency amount is provided, this parameter can be ignored |
quote_amount |
String |
quote currency amount |
side |
String |
Trade directions (BUY-buy; SELL-sell) |
Response
Field |
Type |
Description |
pair |
String |
Trading pairs |
price_id |
String |
Price ID (Parameters requried to create market order) |
qty_base |
Integer |
base amount |
qty_quote |
Integer |
quote amount |
price |
Integer |
Price |
expire_time |
Long |
Quote price expired time (ms) |
count_down |
Integer |
Quote price validity time (ms) |
Response Example
{
"code": 0,
"data": {
"count_down": 0,
"expire_time": 0,
"pair": "string",
"price_id": "string",
"qty_base": "string",
"qty_quote": "string",
"price": "string"
},
"message": "string",
"successful": true
}