微算力 · API 导航与自营网关
API 接入 EN
未登录登录
✨

Whistle RPC

Whistle RPC · v1.0.5
这个包缺安装入口,装上也不会生效 缺 SKILL.md 或 frontmatter 不完整(BAD_NAME)。我们仍保留下载,方便你自行查看内容。
安全 unknown 级 作者 dylanport 公开目录收录
1k 下载 0 安装 4.1k 收藏 6 浏览

简介

Whistle RPC

原始描述

Production Solana RPC for AI agents. Unlimited JSON-RPC, WebSocket. 1 SOL/month via on-chain payment. No rate limits, no tiers.

通过你的 Agent 添加

安装目录:whistle-rpc/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/whistle-rpc/
Codex CLI~/.codex/skills/whistle-rpc/
DeepSeek Harness~/.agents/skills/whistle-rpc/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


name: Whistle RPC slug: whistle-rpc version: 1.0.4 description: Production Solana RPC for AI agents. Unlimited JSON-RPC, WebSocket. 1 SOL/month via on-chain payment. No rate limits, no tiers. author: DylanPort homepage: https://whistle.ninja repository: https://github.com/nickneedsaname/whistle-rpc tags: solana, rpc, blockchain, web3, defi, agent, infrastructure, websocket, dex, trading

Whistle RPC — Solana Infrastructure for AI Agents

Production Solana RPC with unlimited JSON-RPC, WebSocket, DEX data, and historical APIs. Designed for AI agents that need reliable blockchain access.

Services

Service URL What It Does
RPC https://rpc.whistle.ninja All Solana JSON-RPC 2.0 methods
WebSocket wss://rpc.whistle.ninja/ws Real-time subscriptions (slots, accounts, logs)
DEX API https://dex.whistle.ninja/v1 Trending tokens, trades, holders, volume
Historical https://rpc.whistle.ninja/v1 Enriched transaction & transfer history
Agent API https://api.whistle.ninja Subscription management

Authentication

All endpoints require an API key obtained through subscription:

Query param:  https://rpc.whistle.ninja?api_key=YOUR_KEY
Header:       X-API-Key: YOUR_KEY
Header:       Authorization: Bearer YOUR_KEY

Supported RPC Methods

All standard Solana JSON-RPC 2.0:

Account: getBalance, getAccountInfo, getMultipleAccounts, getTokenAccountsByOwner, getMinimumBalanceForRentExemption

Block: getSlot, getBlockHeight, getBlock, getEpochInfo, getRecentPerformanceSamples

Transaction: sendTransaction, simulateTransaction, getTransaction, getSignaturesForAddress, getLatestBlockhash

Node: getHealth, getVersion

WebSocket Subscriptions

slotSubscribe, accountSubscribe, programSubscribe, signatureSubscribe, logsSubscribe

Example:

{"jsonrpc": "2.0", "id": 1, "method": "slotSubscribe"}
{"jsonrpc": "2.0", "id": 2, "method": "accountSubscribe", "params": ["ADDRESS"]}

Connect to wss://rpc.whistle.ninja/ws with your API key as a query param.

DEX & Market Data

GET /trending          - Top trending tokens
GET /token/:mint       - Token price, volume, metadata
GET /volume            - Network-wide volume stats
GET /trades/:mint      - Recent trades for a token
GET /holders/:mint     - Holder distribution

Base URL: https://dex.whistle.ninja/v1

Historical Data

GET /v1/transactions/:address      - Enriched transaction history
GET /v1/token-transfers/:address   - Token transfer history
GET /v1/swaps/:address             - Swap history

Base URL: https://rpc.whistle.ninja

Subscription Flow (REST API)

Subscription costs 1 SOL/month, paid on-chain. The flow is three HTTP calls and one Solana transfer.

Important: The payment step sends real SOL on mainnet. The agent must ask the human operator for explicit approval before signing any transaction, display the exact amount and recipient, and use a dedicated low-value wallet.

1. Request a quote

POST https://api.whistle.ninja/api/agent/subscribe
Content-Type: application/json

{ "walletAddress": "YOUR_WALLET_PUBKEY" }

Response: { "nonce": "...", "amount": 1, "recipient": "...", "duration": 30 }

2. Send payment on-chain

Transfer amount SOL (from the quote) to the recipient address using a standard Solana SystemProgram.transfer. The agent must confirm the amount and recipient with the user before signing.

3. Activate the subscription

POST https://api.whistle.ninja/api/agent/activate
Content-Type: application/json

{
  "nonce": "FROM_STEP_1",
  "txSignature": "YOUR_TX_SIG",
  "walletAddress": "YOUR_WALLET_PUBKEY"
}

Response: { "apiKey": "...", "expiresAt": "...", "rpcUrl": "...", "wsUrl": "..." }

Check status

GET https://api.whistle.ninja/api/agent/status/YOUR_API_KEY

Response: { "active": true, "daysLeft": 29, "renewalNeeded": false }

Renewal

When renewalNeeded is true, repeat the subscribe → pay → activate flow. Always confirm with the user before renewing.

Pricing

1 SOL/month. Everything included. No tiers. No rate limits. Revenue is distributed to WHISTLE stakers and node operators.

Links

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

没有标签

同类 Skill