You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* This will return an EventSource that can be used to listen to streaming updates.
220
226
* If an invalid hex-encoded ID is passed, it will throw an error.
221
227
*
222
-
*
223
228
* @param ids Array of hex-encoded price feed IDs for which streaming updates are requested.
224
-
* @param encoding Optional encoding type. If specified, updates are returned in the specified encoding. Default is hex.
225
-
* @param parsed Optional boolean to specify if the parsed price update should be included in the response. Default is false.
226
-
* @param allow_unordered Optional boolean to specify if unordered updates are allowed to be included in the stream. Default is false.
227
-
* @param benchmarks_only Optional boolean to specify if only benchmark prices that are the initial price updates at a given timestamp (i.e., prevPubTime != pubTime) should be returned. Default is false.
229
+
* @param options Optional parameters:
230
+
* - encoding: Encoding type. If specified, updates are returned in the specified encoding. Default is hex.
231
+
* - parsed: Boolean to specify if the parsed price update should be included in the response. Default is false.
232
+
* - allowUnordered: Boolean to specify if unordered updates are allowed to be included in the stream. Default is false.
233
+
* - benchmarksOnly: Boolean to specify if only benchmark prices should be returned. Default is false.
234
+
* - ignoreInvalidPriceIds: Boolean to specify if invalid price IDs should be ignored instead of returning an error. Default is false.
235
+
*
228
236
* @returns An EventSource instance for receiving streaming updates.
0 commit comments