/rfq/:id/quote
authwriteexample onlyThe response below is an example, not a live call. Pricing needs the live RFQ sitting in your maker inbox. Run it from your authenticated desk. The request on the left is exact — run it from your authenticated client.
Path params
Body
Identity
The relayer identifies the caller from this address — no signature. A trade still binds only with the two EIP-712 Terms signatures.
Bearer token · optional
curl -X POST "https://app.crxfx.com/svc/relayer/rfq/0x9f2c4a1b7e3d8c6f05a9b2d4e1f6c3a8b7d5e2f1c0a9b8d7e6f5c4b3a2918070/quote" \
-H "X-CRX-Address: 0xd403e4e3239943fae744f44776476e60f54ed167" \
-H "Content-Type: application/json" \
-d '{
"quote": {
"rfq_id": "0x…",
"taker": "0x…",
"maker": "0xd403e4e3239943fae744f44776476e60f54ed167",
"aca_number": "0",
"instrument": "0",
"pair": "0xb88ea9916342b79eb925490733f4ef685aae8eaf3cefa07ba7fc36396d229201",
"locked_rate": "83200000",
"im_taker_bps": 2,
"im_maker_bps": 1,
"threshold_bps": 0,
"mta_bps": 10,
"tol_bps": 25,
"valid_until": 1780313385,
"quote_nonce": "1"
}
}'Response
Press Example to see a sample response — this call opens a live trade and runs from your authenticated desk.
Price an RFQ. The relayer returns the canonical Terms signed in the next step. Authentication is required.
- Path:
id: the RFQ id from the inbox. - Body:
{ "quote": { … } }, the unsignedQuote(field order mirrors the on-chainQuotestruct):
JSON
{
"quote": {
"rfq_id": "0x…",
"taker": "0x…",
"maker": "0x…",
"aca_number": "0",
"instrument": "0",
"pair": "0x…",
"locked_rate": "83200000", // the priced rate, fixed-point I256
"im_taker_bps": 2,
"im_maker_bps": 1,
"threshold_bps": 0,
"mta_bps": 10,
"tol_bps": 25,
"valid_until": 1780313385, // Unix timestamp
"quote_nonce": "1"
}
}- Returns:
{ "quote_ref": "0x…", "terms": { … }, "valid_until": 1780313385 }.termsis the canonicalTermsstruct signed in the next step.