realtime-streaming
Skill by Nethereum
Shows .NET developers how to stream live blockchain data with Nethereum using WebSocket subscriptions and Rx observables. Covers new blocks, pending transactions, ERC-20 transfers and Uniswap swap monitoring.
Install realtime-streaming
Built from the published package, never by AI.
git clone --depth 1 https://github.com/Nethereum/Nethereum /tmp/Nethereum && mkdir -p ~/.claude/skills && cp -r /tmp/Nethereum/plugins/nethereum-skills/skills/realtime-streaming ~/.claude/skills/realtime-streamingRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/Nethereum/Nethereum /tmp/Nethereum && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Nethereum/plugins/nethereum-skills/skills/realtime-streaming ~/.gemini/antigravity-cli/skills/realtime-streamingAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The realtime-streaming skill shows how to stream live blockchain data with Nethereum, a .NET library. It covers WebSocket subscriptions through StreamingWebSocketClient, using Rx observables to handle new block headers, pending transactions, and event logs. Examples include ERC-20 transfer tracking and Uniswap swap monitoring for DEX activity.
The skill also covers connection handling, including reconnection after errors and keep-alive pings every 30 seconds, plus Rx operators for filtering streams. For environments where WebSockets are not available, it describes HTTP polling as a fallback. It is aimed at .NET developers who need live on-chain data in their apps.
Written from the project's SKILL.md and checked against it.
What it can do
- WebSocket subscriptionsShares one StreamingWebSocketClient connection across all subscriptions.
- New block headersEmits each new block's number, timestamp and gas data as it is mined.
- Pending transactionsStreams pending transaction hashes and can fetch full transaction details.
- ERC-20 transfer trackingStreams and decodes Transfer events for a given token contract.
- DEX swap monitoringDecodes Uniswap Swap events from a pair address and computes trade prices.
- Generic event logsSubscribes to contract logs using a custom filter.
- Reconnection handlingHandles client errors by stopping the client and reconnecting with resubscription.
- Keep-alive pingingSends a periodic block number request to keep idle connections open.
- Rx operatorsFilters and transforms streams with Rx operators such as Where and Select.
- HTTP polling fallbackPolls blocks at a set interval when WebSockets are not used.
What you need
- A .NET runtime for the C# code examples
- NuGet package Nethereum.RPC.Reactive
- NuGet package Nethereum.JsonRpc.WebSocketStreamingClient
- A WebSocket (WSS) endpoint from an RPC provider, such as Infura with an API key
Try asking
- Show me how to subscribe to new block headers with Nethereum in C#
- Write C# code to track ERC-20 Transfer events over a WebSocket
- How do I monitor Uniswap swaps for a pair address using Nethereum?
Good to know
- Pending transaction streams have very high volume on mainnet.
- Block headers do not include full transactions.
- Most providers close idle connections after 1-2 minutes.
- Polling has higher latency and possible gaps between polls.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: plugins/nethereum-skills/skills/realtime-streaming/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB
Alternatives to realtime-streaming
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
realtime-streaming: common questions
Does WebSocket streaming miss events?
The skill lists WebSocket as having no missed events and sub-second latency. It describes polling as having possible gaps between polls.
How often do new block headers arrive?
The skill says a header fires every time a new block is mined, about every 12 seconds on mainnet.
How do I keep a streaming connection alive?
The skill suggests sending a block number request every 30 seconds, since most providers close idle connections after 1-2 minutes.
How do I install realtime-streaming?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is realtime-streaming free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is realtime-streaming safe to use?
It scores 76 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to realtime-streaming?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
