keyId and
privateKeyHex you use for REST calls, and
createStreamClient signs the WebSocket handshake for you.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Authenticate the streaming client with your signing key
keyId and
privateKeyHex you use for REST calls, and
createStreamClient signs the WebSocket handshake for you.
import { createStreamClient } from "@parlayx/sdk/stream";
const stream = createStreamClient({
keyId: process.env.PARLAYX_KEY_ID!,
privateKeyHex: process.env.PARLAYX_PRIVATE_KEY_HEX!,
});
node:crypto, so the client requires Node.js 20 or newer.