Connect to wss://synthesis.trade/api/v1/balance/ws and send JSON messages over the socket.
Subscription behavior:
wallets array when subscribing.Possible order statuses: OPEN, MATCHED, FILLED, PARTIAL, TRIGGERED, CANCELED, FAILED. MATCHED indicates the order has been submitted on-chain but fill confirmation has not yet arrived.
WebSocket message type. Supported values: subscribe or unsubscribe.
Wallet subscription list. Maximum 500 wallet entries total, and no more than 500 total requested assets across all entries.
[
{
"address": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e",
"assets": ["USDC", "12345"]
},
{
"address": "7xKXtg2CWz9P8VxP1Wm2G7x5Q8Y9LwYH6a7b8c9d1e2F"
}
]WebSocket connection established