Skip to main content

Overview

CLOB markets use a venue system where each market is associated with specific contract addresses. Before placing orders, you must fetch venue data for the market.

How It Works

1

Fetch market data

GET /markets/:slug returns venue information for the market.
2

Use venue.exchange

This address is the verifyingContract for EIP-712 order signing.
3

Cache the venue

Venue data is static per market — fetch once and reuse.

Venue Response

{
  "venue": {
    "exchange": "0xA1b2C3...",
    "adapter": "0xD4e5F6..."
  }
}

Required Token Approvals

Before trading, set up token approvals based on your order type:
Order TypeMarket TypeApprove To
BUYAll CLOBUSDC → venue.exchange
SELLSimple CLOBConditional Tokens → venue.exchange
SELLNegRisk / GroupedConditional Tokens → venue.exchange AND venue.adapter
For NegRisk SELL orders, you must approve to both the exchange and the adapter addresses.