Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计异常

goldrush-streaming-apigoldrush streaming API 搜索

Agent Skill

用于辅助 API 设计、接口文档、请求响应结构和服务集成说明。它适合让 Agent 梳理 endpoint、生成 OpenAPI 草稿、检查字段命名、整理错误码或辅助前后端联调。使用时需要确认真实业务语义、鉴权方式、分页和错误处理规则;涉及生成接口文档时,应避免凭空补字段,最好从现有代码、schema 或接口样例中提取事实。

总安装

870

周安装

37

GitHub Stars

公开资料未说明

下载量

305
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:goldrush-streaming-api(goldrush streaming API 搜索)
来源仓库:https://github.com/covalenthq/goldrush-agent-skills
仓库路径:skills/goldrush-streaming-api
安装命令:
npx skills add https://github.com/covalenthq/goldrush-agent-skills --skill goldrush-streaming-api
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/covalenthq/goldrush-agent-skills --skill goldrush-streaming-api

简介

goldrush-streaming-api 提供基于 WebSocket 的实时区块链数据订阅服务,支持 OHLCV 价格行情和 DEX 事件推送,适合在 Codex、Claude、Cursor、Gemini CLI 中需要低延迟链上信息流时使用。

  • 它通过 GraphQL 订阅实现 sub-second 级别更新,适用于高频监控和交易决策场景。
  • 建议优先使用官方客户端 SDK 以简化连接管理和重试逻辑,仅在特殊需求时采用 graphql-ws 客户端。
  • 使用时需确认网络环境和身份验证机制,避免因依赖问题导致功能异常。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

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

TaskEndpoint
Live token price candlessubscribeToOHLCVTokens
Live pair price candlessubscribeToOHLCVPairs
Monitor new DEX pairssubscribeToNewPairs
Track pair price/liquidity/volumesubscribeToPairUpdates
Stream wallet activitysubscribeToWalletActivity
Search tokens by name/symbolsearchTokens (query)
Analyze trader PnLgetTradersPnl (query)

Key Differences from Foundational API

AspectFoundational APIStreaming API
ProtocolREST (HTTPS)GraphQL over WebSocket
Chain name formateth-mainnet (kebab-case)ETH_MAINNET (SCREAMING_SNAKE_CASE)
AuthenticationAuthorization: Bearer KEYGOLDRUSH_API_KEY in connection_init payload
Data deliveryRequest/responsePush-based (subscriptions)
LatencyBlock-by-blockSub-second
Use caseHistorical data, batch queriesReal-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.

FileWhen to read
overview.mdNeed connection setup, supported chains/DEXes list, quickstart code samples, or authentication details
endpoints.mdBuilding a subscription or query — full parameters, response schemas, decoded event types
sdk-guide.mdNeed SDK patterns for multiple subscriptions, React integration, raw GraphQL queries, or troubleshooting WebSocket issues

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.25%
按下载量换算117

Claude

27.96%
按下载量换算85

Cursor

18.52%
按下载量换算56

Gemini CLI

9.33%
按下载量换算28

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills