POST /hedges in the reference.
1. Get a quote
A quote returns an indicative price and full cost breakdown for a Hedge, without opening anything. Quotes are not binding and not persisted; opening re-prices against the live rate.- pricing -
execution_priceis what the Hedge would open at (mid rate plus impact). - carry - net carry, signed, both daily and over the full tenor.
- upfront -
total_upfront_usdcis margin plus the open-and-close platform fee, all reserved at open.
2. Open the Hedge
Submit the open with the market, side, size, and tenor. It returns immediately withstatus: "submitted", an order_tx_hash, and a hedge_id; the position is not live yet.
Pass a unique
Idempotency-Key header so the open is safe to retry. Retrying with the same key and body returns the original result instead of opening twice. See API Conventions.hedge_id to poll, the collateral_usdc locked at open (margin plus platform fee), the maturity_at date, and a quote echoing the agreed terms.
3. Poll until filled
Poll the Hedge by id untilstatus becomes filled. A filled Hedge gains a fill_tx_hash and its own struck_rate (the rate captured at fill). This usually takes a few seconds.

