We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
⚠️ The Docs have been moved to https://docs.ts.injective.network/querying/querying-api/streaming/streaming-indexer-auction ⚠️
Example code snippets to stream from the indexer for auction module related data.
import { IndexerGrpcAuctionStream } from "@injectivelabs/sdk-ts"; import { getNetworkEndpoints, Network } from "@injectivelabs/networks"; const endpoints = getNetworkEndpoints(Network.TestnetK8s); const indexerGrpcAuctionStream = new IndexerGrpcAuctionStream( endpoints.indexer ); const streamFn = indexerGrpcAuctionStream.streamBids.bind( indexerGrpcAuctionStream ); const callback = (bids) => { console.log(bids); }; const streamFnArgs = { callback, }; streamFn(streamFnArgs);
⚠️ DOCUMENTATION ⚠️