Central Limit Order Book
Clob FAQ
How do I initialize the CLOB client?
Users have 3 ways of initializing the CLOB client:
If trading directly from an EOA
Where:
host
: The Polymarket CLOB endpoint https://clob.polymarket.comkey
: The private key for the EOA that holds fundschain_id
: The chain ID for blockchain. 137 in most cases
If trading from an account with Email/Magic login
Where:
host
: The Polymarket CLOB endpoint https://clob.polymarket.comkey
: The private key exported from Magic that is associated with the accountchain_id
: The chain ID for blockchain. 137 in most casesfunder
: The Polymarket address associated with the email login
If trading from an account with Browser Wallet (Metamask, Coinbase Wallet)
Where:
host
: The Polymarket CLOB endpoint https://clob.polymarket.comkey
: The private key exported from the Browser Wallet that is associated with the accountchain_id
: The chain ID for blockchain. 137 in most casesfunder
: The Polymarket address associated with the browser wallet login
See CLOB documentation and these links for more information