Rfq.accept
JSON-RPC method rfq.accept on the trading socket. Several makers may quote one request; quote_id names the quote to accept, which should be the request’s best.ask to buy or best.bid to sell, and must still be live or the call is RFQ_NOT_FOUND. expires_at must equal that quote’s. The two maxima are signed consent; a value below the current requirement is RFQ_SIGNED_LIMIT_BELOW_REQUIREMENT.
WSS
/
Messages
{
"quote_id": "<64 hex characters>",
"side": "buy",
"expires_at": 1777650031,
"max_taker_fee": "0.300000",
"max_taker_locked_balance": "0.000000",
"taker_signature": "<base64 of 64 bytes>"
}{
"rfq_id": "0192f1a3b4c5d6e7f8091a2b3c4d5e6f",
"quote_id": "<64 hex characters>",
"state": "accepted"
}{
"error": "RFQ_NOT_READY",
"message": "RFQ chain-service state is not warm",
"operation_id": "rfq-18",
"retryable": true,
"rfq_id": "0192f1a3b4c5d6e7f8091a2b3c4d5e6f"
}Request params
type:object
Result
type:object
Error
type:object
Every rfq.* failure is JSON-RPC error 1200; this is its error.data object.
Messages
{
"quote_id": "<64 hex characters>",
"side": "buy",
"expires_at": 1777650031,
"max_taker_fee": "0.300000",
"max_taker_locked_balance": "0.000000",
"taker_signature": "<base64 of 64 bytes>"
}{
"rfq_id": "0192f1a3b4c5d6e7f8091a2b3c4d5e6f",
"quote_id": "<64 hex characters>",
"state": "accepted"
}{
"error": "RFQ_NOT_READY",
"message": "RFQ chain-service state is not warm",
"operation_id": "rfq-18",
"retryable": true,
"rfq_id": "0192f1a3b4c5d6e7f8091a2b3c4d5e6f"
}