Skip to content

Function: getMergedCBExchangeWSRequestOperations() ​

ts
function getMergedCBExchangeWSRequestOperations<TWSTopic extends string = string>(operations: WsExchangeRequestOperation<TWSTopic>[]): WsExchangeRequestOperation<TWSTopic>;

Combine the channel arrays from Coinbase Exchange WebSocket operations into one request. Pass a nonempty array of operations with the same type.

Type Parameters ​

Type ParameterDefault type
TWSTopic extends stringstring

Parameters ​

ParameterType
operationsWsExchangeRequestOperation<TWSTopic>[]

Returns ​

WsExchangeRequestOperation<TWSTopic>

Built by Siebly. Open source SDKs for exchange APIs.