Skip to content

Commit 956f875

Browse files
docs: auto-update for v2.49.4
1 parent 7abb6e6 commit 956f875

5 files changed

Lines changed: 1120 additions & 231 deletions

File tree

docs/api-reference/openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"info": {
44
"title": "PMXT Hosted API",
55
"description": "One API for every prediction market. Cross-venue search in under 10ms, a single unified schema, and the complete venue surface from reads to trades.",
6-
"version": "2.49.3"
6+
"version": "2.49.4"
77
},
88
"servers": [
99
{

docs/concepts/venues.mdx

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: "Every venue PMXT currently speaks."
77
AUTO-GENERATED from pmxt-core's openapi spec (ExchangeParam enum).
88
Do not edit by hand — run `npm run generate:mintlify` to regenerate.
99
Source: docs/api-reference/openapi.json
10-
pmxt-core version at last sync: 2.49.3
10+
pmxt-core version at last sync: 2.49.4
1111
*/}
1212

1313
PMXT Hosted currently supports the following venues. The **wire key** is
@@ -56,19 +56,6 @@ The hosted catalog currently ingests the following venues:
5656
| Myriad | `myriad` | polling |
5757
{/* HOSTED-AUTOGEN:catalog-venues:END */}
5858

59-
## Hosted-trading venues
60-
61-
The venues below support **hosted trading** end-to-end (build → sign → submit → settle) without running a local PMXT service. All hosted trading is custodied in a single Polygon-based `PreFundedEscrow` — you fund USDC once on Polygon, regardless of which venue's chain the trade actually executes on.
62-
63-
| Venue | Execution chain | Settlement chain | Notes |
64-
| ----- | --------------- | ---------------- | ----- |
65-
| Polymarket | Polygon (chainId 137) | Polygon (same-chain) | USDC.e via Polymarket CTF exchange. |
66-
| Opinion | BSC (chainId 56) | Polygon → BSC (cross-chain) | PMXT relays an internal cross-chain settlement leg; you fund + sign on Polygon only. |
67-
68-
EIP-712 order signatures always target the Polygon `PreFundedEscrow` domain (`chainId: 137`) — your wallet never has to switch networks, and any EVM-compatible private key works.
69-
70-
Venues not in this table are **read-only** via the catalog; for write methods (`createOrder`, `cancelOrder`, etc.) on those venues, use [self-hosted mode](/guides/self-hosted).
71-
7259
## Feature support
7360

7461
Not every venue supports every method. Broadly:

docs/docs.json

Lines changed: 38 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -189,25 +189,27 @@
189189
"openapi": "api-reference/openapi.json"
190190
},
191191
{
192-
"group": "Trading (Hosted)",
193-
"openapi": "api-reference/openapi-hosted-trading.json",
192+
"group": "Trading",
194193
"pages": [
195-
"POST /v0/trade/create-order",
196-
"POST /v0/trade/build-order",
197-
"POST /v0/trade/submit-order",
198-
"POST /v0/orders/cancel/build"
199-
]
194+
"POST /api/{exchange}/createOrder",
195+
"POST /api/{exchange}/buildOrder",
196+
"POST /api/{exchange}/submitOrder",
197+
"POST /api/{exchange}/cancelOrder"
198+
],
199+
"openapi": "api-reference/openapi.json"
200200
},
201201
{
202-
"group": "Orders & Positions (Hosted)",
203-
"openapi": "api-reference/openapi-hosted-trading.json",
202+
"group": "Orders & Positions",
204203
"pages": [
205-
"GET /v0/orders/{order_id}",
206-
"GET /v0/orders/open",
207-
"GET /v0/user/{address}/trades",
208-
"GET /v0/user/{address}/positions",
209-
"GET /v0/user/{address}/balances"
210-
]
204+
"GET /api/{exchange}/fetchOrder",
205+
"GET /api/{exchange}/fetchOpenOrders",
206+
"GET /api/{exchange}/fetchMyTrades",
207+
"GET /api/{exchange}/fetchClosedOrders",
208+
"GET /api/{exchange}/fetchAllOrders",
209+
"GET /api/{exchange}/fetchPositions",
210+
"GET /api/{exchange}/fetchBalance"
211+
],
212+
"openapi": "api-reference/openapi.json"
211213
},
212214
{
213215
"group": "Realtime",
@@ -242,6 +244,27 @@
242244
],
243245
"openapi": "api-reference/openapi.json"
244246
},
247+
{
248+
"group": "Trading (Hosted)",
249+
"openapi": "api-reference/openapi-hosted-trading.json",
250+
"pages": [
251+
"POST /v0/trade/create-order",
252+
"POST /v0/trade/build-order",
253+
"POST /v0/trade/submit-order",
254+
"POST /v0/orders/cancel/build"
255+
]
256+
},
257+
{
258+
"group": "Orders & Positions (Hosted)",
259+
"openapi": "api-reference/openapi-hosted-trading.json",
260+
"pages": [
261+
"GET /v0/orders/{order_id}",
262+
"GET /v0/orders/open",
263+
"GET /v0/user/{address}/trades",
264+
"GET /v0/user/{address}/positions",
265+
"GET /v0/user/{address}/balances"
266+
]
267+
},
245268
{
246269
"group": "Enterprise",
247270
"openapi": "api-reference/openapi-hosted.json",

0 commit comments

Comments
 (0)