request messages contain everything a maker needs to price, size, sign, and return a quote.
Request fields
| Field | Type | Meaning |
|---|---|---|
client_id | string | Taker-supplied UUID correlation ID. The indexer enforces UUID format. |
rfq_id | uint64 | Indexer-assigned RFQ ID. Use this for quote signing and settlement correlation. |
market_id | string | Injective derivative market ID. |
direction | string | Taker direction: "long" or "short". |
margin | string | Taker’s requested margin, human-scale decimal string. |
quantity | string | Taker’s requested quantity, human-scale decimal string. |
worst_price | string | Max acceptable price for taker long, min acceptable price for taker short. |
request_address | string | Taker inj1... address. |
expiry | uint64 | Request expiry as Unix milliseconds. |
rfq_id is taker-scoped. Use (request_address, rfq_id) as the settlement correlation key; do not invent it locally and do not use client_id in its place.
How to interpret direction
The direction is always from the taker’s perspective.| Taker direction | Taker wants | Maker fills |
|---|---|---|
long | Buy / go long | Short side |
short | Sell / go short | Long side |
Pricing inputs
A production maker usually prices from:- Current mark price and external reference venues
- Market tick size and quantity step
- Request
quantityandmargin - Taker
worst_price - Inventory skew
- Funding carry
- Hedge cost
- Available USDC margin
- Quote expiry budget
worst_price is already human-scale, for example "14.85". Do not treat it as a 1e18-scaled integer.
Partial fills
Your quote does not have to match the taker’s full requested margin or quantity. You may quote a smallermaker_quantity / maker_margin if you only want to fill part of the request.
If you set min_fill_quantity, the contract will not fill that quote below your minimum. Sign absent min_fill_quantity as "0" through the helper path; never use an empty string in the signed digest.
Next step
After receiving a request:- Decide whether to quote.
- Canonicalize all decimal strings.
- Sign the quote with EIP-712 v2.
- Send it with
sign_mode: "v2"andevm_chain_id.

