← Back to Skills Marketplace
gane5h

Goldrush Streaming API

by gane5h · GitHub ↗ · v3.0.5 · MIT-0
cross-platform ⚠ suspicious
302
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install goldrush-streaming-api
Description
GoldRush Streaming API — real-time blockchain data via GraphQL subscriptions over WebSocket. Use this skill whenever the user needs live price feeds (OHLCV c...
README (SKILL.md)

GoldRush Streaming API

Real-time blockchain data via GraphQL subscriptions over WebSocket. Sub-second latency for OHLCV price feeds, DEX pair events, and wallet activity.

Quick Start

IMPORTANT: Always prioritize using the official available GoldRush Client SDKs best suited for your development ecosystem. Only use a GraphQL WebSocket Client like graphql-ws if there are specific requirements or contraints to avoid dependencies on available Client SDKs. The GoldRush Client SDKs provides automatic authentication, connection management, retry logic, type safety, and a simplified API for all streaming operations. see SDK Guide for more details.

import {
  GoldRushClient,
  StreamingChain,
  StreamingInterval,
  StreamingTimeframe
} from "@covalenthq/client-sdk";

const client = new GoldRushClient(
  "YOUR_API_KEY",
  {},
  {
    onConnecting: () => console.log("Connecting..."),
    onOpened: () => console.log("Connected!"),
    onError: (error) => console.error("Error:", error),
  }
);

client.StreamingService.subscribeToOHLCVTokens(
  {
    chain_name: StreamingChain.BASE_MAINNET,
    token_addresses: ["0x0b3e328455c4059EEb9e3f84b5543F74E24e7E1b"],
    interval: StreamingInterval.ONE_MINUTE,
    timeframe: StreamingTimeframe.ONE_HOUR,
  },
  {
    next: (data) => console.log("OHLCV:", data),
    error: (error) => console.error(error),
    complete: () => console.log("Done"),
  }
);

Install: npm install @covalenthq/client-sdk

Available Streams

The Streaming API offers two types of endpoints:

  • Subscriptions — real-time push via WebSocket. Covers OHLCV price candles (by token or pair), new DEX pair creation, pair updates (price/liquidity/volume), and live wallet activity.
  • Queries — one-time GraphQL fetch. Covers token search and trader PnL analysis.

For the full list of endpoints with parameters and response schemas, see endpoints.md.

Common Tasks → Stream

Task Endpoint
Live token price candles subscribeToOHLCVTokens
Live pair price candles subscribeToOHLCVPairs
Monitor new DEX pairs subscribeToNewPairs
Track pair price/liquidity/volume subscribeToPairUpdates
Stream wallet activity subscribeToWalletActivity
Search tokens by name/symbol searchTokens (query)
Analyze trader PnL getTradersPnl (query)

Key Differences from Foundational API

Aspect Foundational API Streaming API
Protocol REST (HTTPS) GraphQL over WebSocket
Chain name format eth-mainnet (kebab-case) ETH_MAINNET (SCREAMING_SNAKE_CASE)
Authentication Authorization: Bearer KEY GOLDRUSH_API_KEY in connection_init payload
Data delivery Request/response Push-based (subscriptions)
Latency Block-by-block Sub-second
Use case Historical data, batch queries Real-time feeds, live monitoring

Critical Rules

  1. Chain names use SCREAMING_SNAKE_CASEETH_MAINNET, not eth-mainnet
  2. WebSocket URLwss://streaming.goldrushdata.com/graphql
  3. Protocol headerSec-WebSocket-Protocol: graphql-transport-ws
  4. Auth payload{ "type": "connection_init", "payload": { "GOLDRUSH_API_KEY": "YOUR_KEY" } }
  5. Auth errors are deferredconnection_ack always succeeds; auth errors only appear on subscription start
  6. SDK is recommended — handles WebSocket lifecycle, reconnection, and type safety automatically
  7. Singleton WebSocket — SDK reuses one connection for multiple subscriptions
  8. Cleanup subscriptions — call the returned unsubscribe function when done; call disconnect() to close all

Price Feed Sources

  • DEX swap events — prices derived from onchain trades across supported DEXes
  • Onchain oracle feeds — ultra-low-latency CEX-aggregated prices on select chains (e.g., Redstone Bolt on MegaETH at 2.4ms update frequency)

Reference Files

Read the relevant reference file when you need details beyond what this index provides.

File When to read
overview.md Need connection setup, supported chains/DEXes list, quickstart code samples, or authentication details
endpoints.md Building a subscription or query — full parameters, response schemas, decoded event types
sdk-guide.md Need SDK patterns for multiple subscriptions, React integration, raw GraphQL queries, or troubleshooting WebSocket issues
Usage Guidance
This skill appears to be a legitimate streaming API client guide, but take these precautions before installing or using it: - Verify source: there is no homepage or source repository in the metadata and the owner ID is opaque. Prefer skills with a verifiable homepage or repo. - Validate the SDK: if you follow the SDK recommendation, inspect the npm package (@covalenthq/client-sdk) on the npm registry and its source code before installing. - Protect your API key: the protocol sends GOLDRUSH_API_KEY in the WebSocket connection_init payload—do not paste a sensitive key into public logs or code without understanding its permissions and billing model. Consider creating a scoped key with limited permissions or a test key. - Check the endpoint: the WebSocket host is wss://streaming.goldrushdata.com/graphql. Confirm this domain is owned by the service you trust before sending credentials. - Ask the publisher: because the skill metadata lacks a homepage/source, ask the publisher for a repository or official docs to confirm authenticity. If you cannot verify the provider, treat API keys and usage as higher risk. If you can verify the upstream SDK and domain, and you supply an API key intentionally, the skill's instructions are otherwise coherent for live blockchain streaming use.
Capability Analysis
Type: OpenClaw Skill Name: goldrush-streaming-api Version: 3.0.5 The goldrush-streaming-api skill bundle provides comprehensive documentation and instructions for an AI agent to interact with the GoldRush/Covalent real-time blockchain data API. The files (SKILL.md, endpoints.md, overview.md, and sdk-guide.md) contain legitimate GraphQL schemas, WebSocket connection parameters, and code samples for tracking DEX pairs, token prices, and wallet activity. No evidence of data exfiltration, malicious execution, or harmful prompt injection was found; the bundle strictly adheres to its stated purpose of enabling real-time blockchain analytics.
Capability Assessment
Purpose & Capability
Name/description (real-time blockchain GraphQL subscriptions) match the instructions and included endpoint references. The recommended SDK (@covalenthq/client-sdk) and described WebSocket endpoints are consistent with the stated purpose.
Instruction Scope
SKILL.md stays on-topic: it describes connection setup, subscription queries, SDK usage, and troubleshooting. It does not instruct reading local files, unrelated environment variables, or exfiltrating data beyond the declared streaming endpoint.
Install Mechanism
No install spec provided (instruction-only), so nothing is written to disk by the skill itself. It recommends installing an npm SDK, which is a normal developer dependency; the skill does not automatically download or execute remote code.
Credentials
The docs require an API key sent in the WebSocket connection_init payload (GOLDRUSH_API_KEY), but the skill metadata declares no required environment variables or primary credential. The skill will therefore rely on the agent/user to supply an API key at runtime — this mismatch and the lack of declared provenance for the key are noteworthy. Also the metadata lists no homepage/source repository for verification.
Persistence & Privilege
Skill is not always-enabled and does not request elevated or persistent system privileges. It's instruction-only and does not modify other skills or system-wide settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install goldrush-streaming-api
  3. After installation, invoke the skill by name or use /goldrush-streaming-api
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v3.0.5
- Expanded documentation and usage guidance in SKILL.md for goldrush-streaming-api. - Clarified when to use this skill versus goldrush-foundational-api and goldrush-x402. - Provided detailed quick start instructions and SDK installation guidance. - Added comprehensive tables outlining available streaming endpoints, usage scenarios, and key API differences. - Included critical usage rules and best practices for authentication, WebSocket usage, and cleanup. - Enhanced reference sections for easier access to technical details and endpoint schemas.
Metadata
Slug goldrush-streaming-api
Version 3.0.5
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Goldrush Streaming API?

GoldRush Streaming API — real-time blockchain data via GraphQL subscriptions over WebSocket. Use this skill whenever the user needs live price feeds (OHLCV c... It is an AI Agent Skill for Claude Code / OpenClaw, with 302 downloads so far.

How do I install Goldrush Streaming API?

Run "/install goldrush-streaming-api" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Goldrush Streaming API free?

Yes, Goldrush Streaming API is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Goldrush Streaming API support?

Goldrush Streaming API is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Goldrush Streaming API?

It is built and maintained by gane5h (@gane5h); the current version is v3.0.5.

💬 Comments