Messages
{
"action": "subscribe",
"platform": "polymarket",
"version": 1,
"type": "lifecycle",
"filters": {
"condition_ids": [
"*"
]
}
}{
"action": "unsubscribe",
"subscription_id": "sub_2f4b15b33798"
}{
"action": "update",
"subscription_id": "sub_2f4b15b33798",
"filters": {
"users": [
"0xnew_address..."
],
"status": "all"
}
}{
"type": "ack",
"subscription_id": "sub_2f4b15b33798",
"channel": "trades"
}{
"event_type": "condition_resolution",
"condition_id": "0x6b6de56b...",
"oracle": "0x6a9d2226...",
"is_neg_risk": false,
"is_invalid": false,
"title": "Will Sunderland AFC win?",
"market_slug": "epl-sun-bur-2026-02-02-sun",
"market_id": "1225150",
"tokens": [
{
"token_id": "333190...",
"label": "Yes",
"won": true
},
{
"token_id": "975123...",
"label": "No",
"won": false
}
],
"tx_hash": "0xabc...",
"log_index": "0x1b7",
"block_number": "0x4ebcd5f",
"timestamp": 1770244800
}Playground
Lifecycle Playground
Market creation (token_registered) and resolution (condition_resolution) events.
WSS
Documentation Index
Fetch the complete documentation index at: https://docs.predexon.com/llms.txt
Use this file to discover all available pages before exploring further.
Messages
{
"action": "subscribe",
"platform": "polymarket",
"version": 1,
"type": "lifecycle",
"filters": {
"condition_ids": [
"*"
]
}
}{
"action": "unsubscribe",
"subscription_id": "sub_2f4b15b33798"
}{
"action": "update",
"subscription_id": "sub_2f4b15b33798",
"filters": {
"users": [
"0xnew_address..."
],
"status": "all"
}
}{
"type": "ack",
"subscription_id": "sub_2f4b15b33798",
"channel": "trades"
}{
"event_type": "condition_resolution",
"condition_id": "0x6b6de56b...",
"oracle": "0x6a9d2226...",
"is_neg_risk": false,
"is_invalid": false,
"title": "Will Sunderland AFC win?",
"market_slug": "epl-sun-bur-2026-02-02-sun",
"market_id": "1225150",
"tokens": [
{
"token_id": "333190...",
"label": "Yes",
"won": true
},
{
"token_id": "975123...",
"label": "No",
"won": false
}
],
"tx_hash": "0xabc...",
"log_index": "0x1b7",
"block_number": "0x4ebcd5f",
"timestamp": 1770244800
}api_key
type:httpApiKey
Your Predexon API key
Subscribe to Lifecycle
type:object
Subscribe to market creation and resolution. Only condition_ids filter supported.
Unsubscribe
type:object
Remove a subscription by ID.
Update Subscription
type:object
Replace filters on an existing subscription. Not supported on the orderbook channel.
Acknowledgement
type:object
Server acknowledgement for subscribe, unsubscribe, and update actions.
Lifecycle Event
type:object
condition_prepared (V1+V2), token_registered (V1 only), or condition_resolution.
⌘I
