Repository navigation
1.11.0: oxa stream subscribe mempool - #13
Merged
Merged
Conversation
…ribe mempool - oxa stream subscribe mempool [symbol]: signed Hyperliquid transactions before they are included in a block, on every Hyperliquid product. The symbol is optional on this channel only; HIP-4 coins are bare numerics. Live only, with the Pro, Scale and Enterprise plans. - A channel served on one endpoint only connects there by default, read from the SDK's channel table: mempool connects to wss://stream.0xarchive.io/ws. --url and OXA_WS_URL still take precedence; the default endpoint is refused for mempool before connecting. - oxa stream replay mempool is refused before connecting. - oxa capabilities --format pretty prints a row's WebSocket endpoint and plans when it sets them. - Requires @0xarchive/sdk 1.13.0. Version 1.11.0.
all_tickers data is sent only to a subscription without a symbol, so the CLI subscribes without one and refuses a symbol instead of opening a stream that receives nothing. The mempool docs state that the unfiltered stream carries the pending transactions our Hyperliquid node receives, that unfiltered subscriptions share a server-wide capacity limit, and that the mempool stream is the only datatype plans gate.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
oxa stream subscribe mempool [symbol]for pending Hyperliquid transactions (Pro, Scale and Enterprise plans).mempool;all_tickersnow takes no symbol, since the server only sends it to subscriptions without one.--urlorOXA_WS_URLis set;mempoolconnects towss://stream.0xarchive.io/ws.oxa capabilities --format prettyshows the endpoint and plans when a row has them.Requires SDK 1.13.0.