Cobo Agentic Wallet
Polymarket Trading Polygon

Polymarket Trading Polygon

Place orders on Polymarket prediction markets via the CLOB API.

CategoryPrediction Markets
ChainsMATICAMOY
C
Cobo· Author
1,144 views·7 uses

Overview

Place orders on Polymarket prediction markets via the CLOB API.

Facts

ctf_exchange: 0x4bFb41d5B3570DeFd03C39a9A4D8dE6Bd8B8982E
ctf_exchange (AMOY): 0xdFE02Eb6733538f8Ea35D585af8DE5958AD99E40
neg_risk_ctf_exchange: 0xC5d563A36AE78145C45a50134d48A1215220f80a
neg_risk_ctf_exchange (AMOY): 0xC5d563A36AE78145C45a50134d48A1215220f80a (same as mainnet)
neg_risk_adapter: 0xd91E80cF2E7be2e162c6513ceD06f1dD0dA35296
neg_risk_adapter (AMOY): 0xd91E80cF2E7be2e162c6513ceD06f1dD0dA35296 (same as mainnet)
conditional_tokens (CTF ERC1155): 0x4D97DCd97eC945f40cF65F87097ACe5EA0476045
conditional_tokens (AMOY): 0x69308FB512518e39F9b16112fA8d994F4e2Bf8bB
usdc_e (collateral, 6 decimals): 0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174
usdc (AMOY, 6 decimals): 0x9c4e1703476e875070ee25b56a58b008cfb8fa78
CLOB chain_id for Amoy: 80002
target_in: exchange contract + usdc_e contract

Functions:

solidity
function approve(address spender, uint256 amount) external returns (bool);

Typical Flows

Place bet — 2 tx:

1.approve(exchange, amount) on usdc_e contract
2.Submit order via CLOB API POST https://clob.polymarket.com/order; CLOB operator settles on-chain

Use polymarket-research-polygon first to fetch market metadata and identify the correct exchange type.

Policy Controls

USDC.e is collateral, not native USDC: Using wrong USDC address causes tx revert.
Approve before order: usdc_e approve must confirm before order submission.
Exchange routing: Wrong exchange = transaction reverts. Verify exchange type from market metadata.
Binary outcome risk: If event resolves against bet, conditional tokens are worthless.
Odds shift between fetch and execution: Set slippage tolerance; re-fetch odds immediately before trading.
Policy denial: Parse reason; retry with compliant params.
Not applicable for: native USDC — requires USDC.e (0x2791Bca1...) as collateral
Testnet (AMOY): No real value; use Amoy faucet for test MATIC and USDC. ctf_exchange differs from mainnet (0xdFE02...). USDC address differs from mainnet (0x9c4e... vs 0x2791...).
Partial reference: use web search for unlisted tokens, contracts, parameters, or up-to-date addresses

References

Docs: https://docs.polymarket.com/llms.txt — CTF/neg-risk contract ABI, CLOB order types, conditional token redemption, USDC.e collateral.