Messages
{
"action": "subscribe",
"platform": "polymarket",
"version": 1,
"type": "collateral",
"filters": {
"users": [
"0x3b27d0fb..."
]
}
}{
"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": "polyusd_wrapped",
"user": "0x3b27d0fb...",
"asset": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
"amount": 45000000,
"amount_normalized": 45,
"tx_hash": "0xabc...",
"log_index": "0x9ed",
"block_number": "0x51c9418",
"timestamp": 1776638042,
"version": 2
}Collateral
Collateral Playground
pUSD wrap/unwrap events (V2). Tracks deposits and withdrawals of the V2 trading collateral.
WSS
Messages
{
"action": "subscribe",
"platform": "polymarket",
"version": 1,
"type": "collateral",
"filters": {
"users": [
"0x3b27d0fb..."
]
}
}{
"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": "polyusd_wrapped",
"user": "0x3b27d0fb...",
"asset": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
"amount": 45000000,
"amount_normalized": 45,
"tx_hash": "0xabc...",
"log_index": "0x9ed",
"block_number": "0x51c9418",
"timestamp": 1776638042,
"version": 2
}api_key
type:httpApiKey
Your Predexon API key
Subscribe to Collateral
type:object
Subscribe to pUSD wrap/unwrap events (V2 deposits and withdrawals). Only users filter or wildcard 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.
Collateral Event
type:object
pUSD wrap (deposit) or unwrap (withdrawal) event. V2 only.
⌘I
