solana-rpc

solana-rpc is a skill for Claude Code, Codex from Vo1ganin/crypto-claude-skills. It costs 195 tokens per session (2,035 once invoked), scanned A, original, MIT.

A guide for retrieving raw data from Solana's JSON-RPC interface, the standard request system used to read blockchain data. It covers provider-specific extensions from services such as Helius and QuickNode.

In plain words
What is it for?
Use it to fetch transaction details, wallet assets, token accounts, NFT data, account state, or priority-fee information from Solana.
Why use it?
It helps choose parsed and specialised endpoints when available, avoiding unnecessary downloads and manual transaction parsing. It also covers batching, rate limits, and cost-conscious data retrieval.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to fetch transaction details, wallet assets, token accounts, NFT data, account state, or priority-fee information from Solana.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vo1ganin/crypto-claude-skills/solana-rpc
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Vo1ganin/crypto-claude-skills --skill solana-rpc
Clone the repo
git clone --depth 1 https://github.com/Vo1ganin/crypto-claude-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for solana-rpc

README.md
[![agentmods](https://agentmods.dev/badge/skills/vo1ganin/crypto-claude-skills/solana-rpc/github.svg)](https://agentmods.dev/skills/vo1ganin/crypto-claude-skills/solana-rpc)
Your own site
<a href="https://agentmods.dev/skills/vo1ganin/crypto-claude-skills/solana-rpc"><img src="https://agentmods.dev/badge/skills/vo1ganin/crypto-claude-skills/solana-rpc/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for solana-rpc

Your own site · 80×15
<a href="https://agentmods.dev/skills/vo1ganin/crypto-claude-skills/solana-rpc"><img src="https://agentmods.dev/badge/skills/vo1ganin/crypto-claude-skills/solana-rpc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 195 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,035 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00195 $0.02035
Opus 5 $0.00097 $0.01018
Sonnet 5 $0.00039 $0.00407
Haiku 4.5 $0.00019 $0.00203

Measured 12d ago against content hash a5fd80bb440d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

solana-rpc scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (references/examples/fetch_tx_batch.py, references/examples/wallet_full_history.py, references/examples/wallet_holdings_das.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Single call: curl or httpx inline
skills/solana-rpc/SKILL.md · 169 lines

How it starts

The opening of the file, as written. The whole thing — 169 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Solana RPC Skill

Reference files:

  • references/core-methods.md — standard Solana JSON-RPC methods, parameters, response shapes
  • references/helius-extensions.md — DAS API, Enhanced Transactions, Priority Fee, Sender, LaserStream
  • references/quicknode-extensions.mdqn_estimatePriorityFees, Metaplex DAS addon, Jito
  • references/patterns.md — batching, rate limits, resume, cost optimization
  • references/examples/ — working Python scripts

🚨 Rule #1: use the provider's parsed/enhanced APIs when available

The biggest credit waste on Solana RPC is fetching raw data and parsing it yourself when the provider offers a parsed endpoint. Matrix:

Task Cheap option Expensive / broken option
Wallet NFTs + tokens Helius DAS getAssetsByOwner getTokenAccountsByOwner + metadata lookups
Complete tx history Helius getTransactionsForAddress getSignaturesForAddress + N × getTransaction
Parsed DEX swap details Helius Enhanced Tx or Solscan getTransaction + manual program parsing
NFTs by collection DAS getAssetsByGroup / searchAssets getProgramAccounts (expensive + slow)
Priority fee estimate getPriorityFeeEstimate (Helius) or qn_estimatePriorityFees (QuickNode) getRecentPrioritizationFees (raw, needs math)
Compressed NFT history DAS getSignaturesForAsset getSignaturesForAddress (doesn't work for cNFTs)

When in doubt: check references/helius-extensions.md first — if Helius has a purpose-built endpoint, use it.

🚨 Rule #2: batch JSON-RPC requests

Single HTTP request can carry an array of JSON-RPC calls:

[
  {"jsonrpc":"2.0","id":1,"method":"getTransaction","params":["sig1",{"encoding":"jsonParsed","maxSupportedTransactionVersion":0}]},
  {"jsonrpc":"2.0","id":2,"method":"getTransaction","params":["sig2",{"encoding":"jsonParsed","maxSupportedTransactionVersion":0}]},
  ...up to ~100 items
]

Read the full file on GitHub · 169 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 169 lines · 195 tokens per session scan A a5fd80bb440d

Subscribe to this mod's changes

solana-rpc is a skill published in the GitHub repository Vo1ganin/crypto-claude-skills (2 stars, last pushed 22d ago), licensed MIT. It adds 195 tokens to every session and 2,035 once invoked, about $0.0010 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

subgraph-development-guide

Guide to building blockchain data indexes with The Graph — subgraph architecture, schema design, mapping handlers, deployment, and querying. Covers GraphQL APIs for DEX data, token transfers, and DeFi protocol events. Use when explaining blockchain indexing or building custom data pipelines.

nirholas/three.ws · 59 tokens

chainlink-oracle-guide

How Chainlink oracle price feeds work — architecture, reading feeds on-chain, available pairs, the aggregator model, and oracle security. Covers how DeFi protocols (Aave, Sperax, Compound) rely on Chainlink for accurate pricing. Use when explaining oracles, price feeds, or DeFi infrastructure.

nirholas/three.ws · 68 tokens

web3auth-integration-guide

Guide to integrating Web3Auth for social login in Web3 dApps. Covers email, Google, Apple, Discord, and Twitter login flows. MPC key management, session handling, RainbowKit integration, and migration from traditional wallet-only flows. Zero-friction onboarding.

nirholas/three.ws · 60 tokens

privy-integration

Integrates Privy authentication, embedded wallets, and agent payment protocols into web and agentic apps. Covers React SDK (PrivyProvider, hooks, wagmi), Node.js SDK, smart wallets (ERC-4337), x402 and MPP machine payments, Tempo chain, and agentic wallets with policies. Use when setting up Privy auth, creating…

tenequm/skills · 110 tokens

debridge

Complete deBridge Protocol SDK for building cross-chain bridges, message passing, and token transfers on Solana. Use when building cross-chain applications, bridging assets between Solana and EVM chains, or implementing trustless external calls.

sendaifun/skills · 48 tokens

lifi

Integrate LI.FI for cross-chain swaps, bridging, payments, route discovery, and transfer status tracking across Solana, EVM, Bitcoin, and Sui. Use when building Solana applications or AI agents that need quotes, routes, executable transactions, supported chains/tokens/tools, or cross-chain transfer monitoring.

sendaifun/skills · 67 tokens