connectWebChannel({ baseUrl, policy, core, transport: 'websocket' }). The SDK verifies attestation, establishes the encrypted session over HTTP, then upgrades /v1/ws at the same origin.
Use client.request for the same commands and reads available over HTTP. WebSocket does not change signatures, permissions or operation IDs.
Subscribe
An owner or current READ agent can subscribe to any read family, starting without a cursor. A channel supports one subscription and one iterator consumer. Theclient and application-defined Context follow SDK integration.
Disconnect and reconnect
Permissions, session expiry and state freshness are rechecked every 500 ms, including during idle periods. Revocation, expiry, lost freshness, missing or out-of-order delivery and queue overflow close the stream. Leaving thefor await loop closes the subscription iterator and its channel. On closure or an iterator error, establish a freshly attested session, use current account authority and start again without a cursor to obtain a fresh snapshot.
Outstanding trades are reconciled through their original operation IDs; reconnect does not automatically resend them.