/margin
Query
Bearer token · optional
curl -X GET "https://app.crxfx.com/svc/relayer/margin?pair=0x69f1670ccd0386df6e79b445190cb08f07e9d85ef8bb6ef820417312ea39752f¬ional=100000"Response
Press Try It! to run the call and read the live response.
This endpoint returns the vol-scaled initial-margin schedule for a pair and notional. It is public. No authentication is required.
- Query:
pair(required): the on-chain pairId,keccak256(label)as a0xbytes32 (a plain label is rejected). Read it from GET /calendar/:pair →calendarId. - Query:
notional(required): notional in settlement-currency units, as a decimal string. - Returns:
{ imTakerBps, imTaker, imMakerBps, imMaker, thresholdBps, mtaBps, tolBps, volPct }.