Method Name
private/send_quote
private/send_quoteSends a quote in response to an RFQ request.
The legs supplied in the parameters must exactly match those in the RFQ.
Required minimum session key permission level is admin
Parameters
direction
string required |
max_fee
string required |
nonce
integer required |
rfq_id
string required |
signature
string required |
signature_expiry_sec
integer required |
signer
string required |
subaccount_id
integer required |
legs
array of objects required |
legs[].
amount
string required |
legs[].
direction
string required |
legs[].
instrument_name
string required |
legs[].
price
string required |
label
string |
mmp
boolean |
Response
id string or integer required |
result object required |
result.
cancel_reason
string required |
result.
creation_timestamp
integer required |
result.
direction
string required |
result.
fee
string required |
result.
fill_pct
string required |
result.
is_transfer
boolean required |
result.
label
string required |
result.
last_update_timestamp
integer required |
result.
legs_hash
string required |
result.
liquidity_role
string required |
result.
max_fee
string required |
result.
mmp
boolean required |
result.
nonce
integer required |
result.
quote_id
string required |
result.
rfq_id
string required |
result.
signature
string required |
result.
signature_expiry_sec
integer required |
result.
signer
string required |
result.
status
string required |
result.
subaccount_id
integer required |
result.
tx_hash
string or null required |
result.
tx_status
string or null required |
result.
legs
array of objects required |
result.legs[].
amount
string required |
result.legs[].
direction
string required |
result.legs[].
instrument_name
string required |
result.legs[].
price
string required |
Example
{request_example_shell}{request_example_javascript}{request_example_python}The above command returns JSON structured like this:
{response_example_json}