Binance Connector JS
    Preparing search index...

    Function replaceWebsocketStreamsPlaceholders

    • Replaces placeholders in the format with corresponding values from the provided variables object.

      Parameters

      • str: string

        The input string containing placeholders.

      • variables: Record<string, unknown>

        An object where keys correspond to placeholder names and values are the replacements.

      Returns string

      • The resulting string with placeholders replaced by their corresponding values.