// GLOSSARY
Token ID / ERC-1155
Polymarket outcome shares are ERC-1155 tokens on Polygon; each outcome (yes, no) in a market has its own token ID. Orders on the CLOB are placed against token IDs, and winning tokens redeem for $1 of USDC at settlement.
ERC-1155 is a multi-token standard: one contract managing many token types, each identified by a numeric ID. Polymarket uses it for outcome shares — your "yes" position is literally a balance of a specific token ID in your wallet.
How the IDs fit together
A market's condition ID identifies the question; under it, each outcome gets its own token ID (yes and no in a binary market). The Gamma API metadata for a market lists its token IDs, and the CLOB API takes orders per token ID — you don't trade "the market," you trade one of its outcome tokens.
Worked example
Your bot wants to buy yes. It fetches the market from Gamma, reads the
token ID for the yes outcome, requests the book for that token from
clob.polymarket.com, and places an EIP-712-signed
order against it. At settlement, winning tokens
redeem for $1 of USDC each; losing tokens go to zero.
A recurring bug class is buying the wrong side by mixing up the two token IDs — worth an explicit test. More in the Polymarket CLOB API guide.
Related terms
Go deeper