Create an RFQ
Prerequisites
Critical Rule: collateralAmount is ALWAYS 0
// CORRECT — buildRFQParams enforces this automatically
const params = client.optionFactory.buildRFQParams({ ... });
// params.collateralAmount === BigInt(0) always
// WRONG — never set manually
collateralAmount: BigInt(1000000) // causes issues at settlement!Approach 1: buildRFQRequest (One-Liner)
BUY Position (isLong: true)
SELL Position (isLong: false) — Approval Required
Approach 2: buildRFQParams (Two-Step)
Reserve Price
Position
Meaning
Behavior if violated
RFQ Parameters Reference
Parameter
Type
Description
Convenience Helpers: Multi-Leg Builders
Using requestForQuotation (Convenience)
Common Pitfalls
Mistake
Fix
See Also
Last updated

