Update Polymarket documentation - March 30, 2026
Updated 229 documentation pages reflecting latest official docs changes: - API Reference: authentication, rate-limits, clients-sdks, market-data endpoints - Developers: CLOB, Gamma Markets, RTDS, Sports Websocket, Builders, CTF - Trading: fees, bridge, orders, orderbook, clients - Polymarket Learn: get-started guides, deposits, trading - Builders: tiers, api-keys, profile, examples, order-attribution - Quickstart: overview, first-order, websocket guides - Concepts: markets-events, prices-orderbook, resolution - Market Makers: getting-started, trading, liquidity-rewards - Resources: error-codes, contract-addresses, blockchain-data
This commit is contained in:
@@ -89,4 +89,21 @@ All Polymarket contracts are deployed on **Polygon mainnet** (Chain ID: 137). Th
|
||||
"NEG_RISK_CTF_EXCHANGE": "0xC5d563A36AE78145C45a50134d48A1215220f80a",
|
||||
}
|
||||
```
|
||||
|
||||
```rust Rust theme={null}
|
||||
use polymarket_client_sdk::{POLYGON, contract_config};
|
||||
|
||||
// Addresses are built into the SDK — no hardcoding needed
|
||||
let config = contract_config(POLYGON, false).expect("polygon config");
|
||||
// config.exchange: 0x4bFb41d5B3570DeFd03C39a9A4D8dE6Bd8B8982E
|
||||
// config.collateral: 0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174
|
||||
// config.conditional_tokens: 0x4D97DCd97eC945f40cF65F87097ACe5EA0476045
|
||||
|
||||
let neg_config = contract_config(POLYGON, true).expect("polygon neg risk config");
|
||||
// neg_config.exchange: 0xC5d563A36AE78145C45a50134d48A1215220f80a
|
||||
// neg_config.neg_risk_adapter: Some(0xd91E80cF2E7be2e162c6513ceD06f1dD0dA35296)
|
||||
```
|
||||
</CodeGroup>
|
||||
|
||||
|
||||
Built with [Mintlify](https://mintlify.com).
|
||||
Reference in New Issue
Block a user