For the complete documentation index, see llms.txt. This page is also available as Markdown.

rfq_respond

Respond to RFQ. Makers have up to 1 minute to answer an RFQ, after which the user has up to 2 minutes to execute the trade. Quotes are not locked. Makers place orders directly into the order book and can dynamically adjust pricing.

post
/api/v1/rfq/respond
Header parameters
authorizationstringRequired

Auth token in the Authorization header.

Body
rfq_idinteger · int64Required
statusstring · enumRequiredPossible values:
Responses
200

A successful response.

application/json
codeinteger · int32RequiredExample: 200
messagestringOptional
idinteger · int64Required
account_indexinteger · int64Required
market_indexinteger · int16Required

Market identifier; corresponds to market_id in market metadata.

directioninteger · int16Required

-1 = hidden; 0 = sell; 1 = buy.

base_amountstringRequired
quote_amountstringRequired
statusstring · enumRequiredPossible values:
created_atinteger · int64Required
updated_atinteger · int64Required
post/api/v1/rfq/respond
POST /api/v1/rfq/respond HTTP/1.1
Host: mainnet.zklighter.elliot.ai
authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 36

"rfq_id=1&status='acknowledged'"
{
  "code": 200,
  "message": "text",
  "id": 1,
  "account_index": 1,
  "market_index": 1,
  "direction": 1,
  "base_amount": "text",
  "quote_amount": "text",
  "status": "opened",
  "metadata": {
    "requested_est_price": "text",
    "requested_max_slippage": "text",
    "requested_slippage": "text",
    "worst_price": "text",
    "mark_price": "text",
    "requested_est_fill_fraction": "text"
  },
  "responses": [
    {
      "account_index": 1,
      "status": "acknowledged",
      "responded_at": 1,
      "updated_at": 1
    }
  ],
  "created_at": 1,
  "updated_at": 1
}

Last updated

Was this helpful?