IndexerStreams
WebSocket methods exposed under Indexer.streams.
new
block_height
Subscribe to the indexer block height feed.
batched: Reduce incoming messages by batching contents.validate: Whether to validate reply and update payloads against the generated schemas.
Source code in pkg/src/dydx/indexer/streams/api/block_height.py
markets
Subscribe to the indexer markets feed.
batched: Reduce incoming messages by batching contents.validate: Whether to validate reply and update payloads against the generated schemas.
Source code in pkg/src/dydx/indexer/streams/api/markets.py
candles
Subscribe to candle updates using market and resolution.
Source code in pkg/src/dydx/indexer/streams/candles.py
orders
Subscribe to the indexer order book feed for a market.
id: Market ticker.batched: Reduce incoming messages by batching contents.validate: Whether to validate reply and update payloads against the generated schemas.
Source code in pkg/src/dydx/indexer/streams/api/orders.py
parent_subaccounts
Subscribe to the indexer parent subaccounts feed for an address and parent subaccount number.
address: Wallet address that owns the parent subaccount.subaccount: Parent subaccount number.batched: Reduce incoming messages by batching contents.validate: Whether to validate reply and update payloads against the generated schemas.
Source code in pkg/src/dydx/indexer/streams/parent_subaccounts.py
subaccounts
Subscribe to subaccount updates using address and subaccount number.
Source code in pkg/src/dydx/indexer/streams/subaccounts.py
trades
Subscribe to the indexer trades feed for a market.
id: Market ticker.batched: Reduce incoming messages by batching contents.validate: Whether to validate reply and update payloads against the generated schemas.