Skip to main content

1. Read market data

2. Read your on-chain nonce

Every quote must include the nonce. It must match the on-chain value.

3. Price each option and build quotes

4. Sign each quote with EIP-712

5. Submit quotes

6. Listen for fills

Polling fallback: GET /mm/fills?since=<timestamp> if WebSocket is not an option.

7. The main loop

Run the fill listener in a separate thread/task so hedges happen immediately.

EIP-712 Quote struct

Domain separator

Quote fields

Typehash