Skip to content

Variable: WS_KEY_MAP ​

ts
const WS_KEY_MAP: object;

Names for the SDK's WebSocket connections. Derivatives public and private keys use separate sockets at the same URL. See the client overview for available connections and upcoming Unified public streams.

Type Declaration ​

derivativesPrivateV1 ​

ts
readonly derivativesPrivateV1: "derivativesPrivateV1" = 'derivativesPrivateV1';

derivativesPublicV1 ​

ts
readonly derivativesPublicV1: "derivativesPublicV1" = 'derivativesPublicV1';

Public Kraken Derivatives v1 subscriptions. Private channels use the separate derivativesPrivateV1 connection and automatic challenge signing. This legacy feed is scheduled for removal on 1 March 2027; see the Kraken changelog.

spotBetaPrivateV2 ​

ts
readonly spotBetaPrivateV2: "spotBetaPrivateV2" = 'spotBetaPrivateV2';

spotBetaPublicV2 ​

ts
readonly spotBetaPublicV2: "spotBetaPublicV2" = 'spotBetaPublicV2';

spotL3V2 ​

ts
readonly spotL3V2: "spotL3V2" = 'spotL3V2';

spotPrivateV2 ​

ts
readonly spotPrivateV2: "spotPrivateV2" = 'spotPrivateV2';

spotPublicV2 ​

ts
readonly spotPublicV2: "spotPublicV2" = 'spotPublicV2';

Public Kraken Spot v2 subscriptions. Use spotPrivateV2 for authenticated Spot channels. See the Spot v2 book channel.

Built by Siebly. Open source SDKs for exchange APIs.