/margin
Query
Bearer token · optional
curl -X GET "https://app.crxfx.com/svc/relayer/margin?pair=0xb88ea9916342b79eb925490733f4ef685aae8eaf3cefa07ba7fc36396d229201¬ional=100000"Response
Press Try It! to run the call and read the live response.
The vol-scaled initial-margin schedule for a pair and notional. Public.
- 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 }.