Index of every page on this site: llms.txt
All skills
vo1ganin avatar

/solana-rpc

@8100600
Run it yourself

Expert assistant for Solana JSON-RPC — works with any provider: QuickNode, Helius, Triton, Ankr, Chainstack, or public endpoints. Standard JSON-RPC methods are identical across providers; only the URL differs. Use whenever the user wants raw Solana data: fetch transactions by signature, read account state, get block data, check SPL token balances, query program accounts, submit transactions, estimate priority fees, or do anything requiring direct Solana node access. Also use when the user mentions Helius/QuickNode specifically, or wants Helius-specific features (DAS API, Enhanced Transactions, LaserStream, Webhooks) or QuickNode addons (qn_estimatePriorityFees, Metaplex DAS, Jito bundles). Enforces: batch JSON-RPC requests over loops, prefer DAS/Enhanced APIs over raw RPC when available, never use `getProgramAccounts` without tight filters.

Use this Skill: https://skilld.dev/gh/vo1ganin/crypto-claude-skills/solana-rpc

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesquicknode-extensions.md

≈1.1k tokens on demand. Your agent reads this file only when SKILL.md points to it.

QuickNode Extensions (beyond standard RPC)

QuickNode offers standard Solana RPC plus optional addons enabled per-endpoint. Each addon adds specific methods to the same RPC URL.

Setup

QuickNode gives you a custom URL per endpoint, e.g.:

export SOLANA_RPC_URL="https://YOUR-NAME.solana-mainnet.quiknode.pro/YOUR-TOKEN/"

No API key header — the URL itself is the credential. Scripts read from SOLANA_RPC_URL.

Pricing model

QuickNode uses per-endpoint subscription (not credit-based). You pay for:

  • RPS/burst allowance per endpoint
  • Each addon separately

Free tier exists but limited. Production typically needs Build plan ($49/mo) or higher. Exact plan details vary — check user's dashboard.

Priority Fee addon

qn_estimatePriorityFees(options)

QuickNode's equivalent to Helius's getPriorityFeeEstimate.

Options:

  • last_n_blocks: 100 — how many recent blocks to sample (default varies)
  • account: "<address>" — optional: focus on this writable account
  • api_version: 2

Response:

{
  "per_compute_unit": {
    "percentile_25": 1000,
    "percentile_50": 2500,
    "percentile_75": 10000,
    "percentile_95": 50000,
    "percentile_99": 100000
  },
  "per_transaction": {...}
}

Rule of thumb: use percentile_75 for normal tx, percentile_95 for urgent during congestion.

Metaplex DAS API addon

Same DAS endpoints as Helius (getAsset, getAssetsByOwner, getAssetsByGroup, searchAssets, getAssetProof, getSignaturesForAsset). Must be enabled as addon on your QuickNode endpoint.

See helius-extensions.md — DAS methods are identical across providers.

Lil JIT (Jito Bundles)

Submit transactions as Jito bundles — atomically bundled txs that land together, used for MEV and multi-tx strategies.

Methods added:

  • sendBundle(bundle, options) — submit bundle of up to 5 signed txs
  • getBundleStatuses([bundle_id, ...]) — check status
  • getTipAccounts() — Jito tip accounts (send tips to these for priority)

Use case: sandwich attacks, arbitrage, atomic multi-dex swaps.

Metis (Trading API)

High-level DEX trading wrapper — quote & execute swaps across Jupiter aggregator.

  • qn_fetchQuote — get swap route and amounts
  • qn_fetchSwapTransaction — get signed-ready tx

Alternative to calling Jupiter v6 API directly. Simpler but less flexible.

Yellowstone Geyser gRPC

Real-time streaming via Solana's Geyser plugin interface. Open-source equivalent of Helius LaserStream.

  • gRPC transport, separate endpoint URL
  • Available on Dedicated Nodes and Premium plans
  • Use for: MEV bots, trading, real-time analytics

Historical-aware RPC

QuickNode Solana endpoints include full archive by default on mainnet-beta (no pruning). Testnet/Devnet are pruned.

This means:

  • getBlock(old_slot) works for any historical slot
  • getTransaction(old_sig) works forever
  • getSignaturesForAddress can paginate back to genesis

Helius also provides archive — most production providers do. Public RPC does NOT.

Empirical performance (production)

  • getTransaction on QuickNode: ~10k req/min sustainable, ~15 KB response per jsonParsed tx
  • getBlock full: ~30s timeout needed, megabyte-size payload; use transactionDetails: "signatures" to shrink if you only need sig list
  • 3× faster than Solscan for raw single-tx fetches
  • No parsed swap/DeFi data — use Solscan or Helius Enhanced for that

Picking between Helius and QuickNode

Use case Prefer
NFT-heavy (cNFTs, collections) Helius (DAS + Webhooks polished)
Parsed tx history for analytics Helius (Enhanced Tx > raw parsing)
Real-time at scale Both work (LaserStream vs Yellowstone)
MEV / Jito bundles QuickNode Lil JIT or direct Jito
Standard RPC at high throughput Either — pricing/support decides
Simplest NFT queries Helius DAS with showFungible
Archive history Both OK (default on paid plans)

Addon selection checklist

Before enabling an addon, ask user:

  • Do you actually need this data realtime? (else, use webhooks or polling from a cheaper tier)
  • Are you submitting many txs? (Priority Fee + Jito worth it)
  • Do you query NFTs? (DAS is mandatory — manual parsing is 10× slower)

Each addon costs extra — don't enable speculatively.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning1mo3 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    The skill provides expert interaction with Solana RPC providers such as Helius and QuickNode, including scripts for batch processing transactions and querying wallet holdings. A minor security concern is the potential for indirect prompt injection, as the skill processes external data from RPC endpoints that could theoretically contain malicious instructions targeting the agent context.

  • Socket1mo

    No alerts

  • Snyk1mo

    Risk: MEDIUM · 1 issue

Signed by skilld at 8100600. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Steadyupdated 7 months ago
compatibility
{
  "tools": [
    "Bash",
    "Write",
    "Read"
  ]
}

README badge

README badge for vo1ganin/crypto-claude-skills/solana-rpc