Class IndexerGrpcOracleStream
Methods
streamOraclePrices
- streamOraclePrices(__namedParameters: { baseSymbol?: string; callback: OraclePriceStreamCallback; oracleType: string; quoteSymbol?: string; onEndCallback?: any; onStatusCallback?: any }): Subscription
Parameters
__namedParameters: { baseSymbol?: string; callback: OraclePriceStreamCallback; oracleType: string; quoteSymbol?: string; onEndCallback?: any; onStatusCallback?: any }
Optional baseSymbol?: string
oracleType: string
Optional quoteSymbol?: string
onEndCallback?:function
onStatusCallback?:function
Returns Subscription
streamOraclePricesByMarkets
- streamOraclePricesByMarkets(__namedParameters: { callback: OraclePricesByMarketsStreamCallback; marketIds?: string[]; onEndCallback?: any; onStatusCallback?: any }): Subscription
Parameters
__namedParameters: { callback: OraclePricesByMarketsStreamCallback; marketIds?: string[]; onEndCallback?: any; onStatusCallback?: any }
Optional marketIds?: string[]
onEndCallback?:function
onStatusCallback?:function
Returns Subscription