CRX 101
Contact
GET

/margin

Query

pairstring
notionalstring

Bearer token · optional

Bearer
Language
curl -X GET "https://app.crxfx.com/svc/relayer/margin?pair=0x69f1670ccd0386df6e79b445190cb08f07e9d85ef8bb6ef820417312ea39752f&notional=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 a 0x bytes32 (a plain label is rejected). Read it from GET /calendar/:paircalendarId.
  • Query: notional (required): notional in settlement-currency units, as a decimal string.
  • Returns: { imTakerBps, imTaker, imMakerBps, imMaker, thresholdBps, mtaBps, tolBps, volPct }.
GET /margin