
Solana Blockchain
FreeAccess real-time Solana on-chain data with USD pricing.
Free · Opens the source repo
What Solana Blockchain does
The Solana Blockchain skill allows users to query various on-chain data from the Solana network, enriched with real-time USD pricing sourced from CoinGecko. This skill includes eight commands that cover a wide range of functionalities, such as checking wallet balances, retrieving token information, inspecting transactions, and monitoring network statistics. By utilizing only the Python standard library, it ensures a lightweight and efficient operation without the need for additional dependencies.
Users can easily obtain wallet portfolios, which display SOL balances and SPL token holdings along with their USD values. The skill also provides detailed transaction insights by signature, allowing users to track balance changes in both SOL and USD. For those interested in specific tokens, the skill can retrieve metadata, current prices, market caps, and top holders, making it a valuable tool for traders and investors alike.
Furthermore, the skill includes features for monitoring recent activity on wallets, detecting large SOL transfers (whale detection), and checking the overall health of the Solana network. With the ability to look up prices for various tokens, users can stay informed about their investments and market movements. This skill is particularly useful for developers and analysts who work with the Solana blockchain and need quick access to on-chain data without the complexity of managing API keys or external libraries.
When to use it
Use this skill when you need to access wallet balances, token details, or transaction histories on the Solana blockchain.
When not to use it
This skill may not be suitable for historical transaction analysis beyond two days or for comprehensive NFT detection, as it relies on heuristics.
What you can build with it
Check Wallet Portfolio
Quickly retrieve the SOL balance and SPL token holdings of a specific Solana wallet, along with their USD values.
Inspect Transaction Details
Look up detailed information about a specific transaction using its signature, including balance changes and fees.
Monitor Network Health
Get real-time statistics about the Solana network, including current TPS, epoch, and SOL price.
How to install Solana Blockchain
View source1. Install with the skills CLI
npx skills add nousresearch/hermes-agent/solana --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by nousresearchSolana Blockchain Skill
Query Solana on-chain data enriched with USD pricing via CoinGecko. 8 commands: wallet portfolio, token info, transactions, activity, NFTs, whale detection, network stats, and price lookup.
No API key needed. Uses only Python standard library (urllib, json, argparse).
When to Use
- User asks for a Solana wallet balance, token holdings, or portfolio value
- User wants to inspect a specific transaction by signature
- User wants SPL token metadata, price, supply, or top holders
- User wants recent transaction history for an address
- User wants NFTs owned by a wallet
- User wants to find large SOL transfers (whale detection)
- User wants Solana network health, TPS, epoch, or SOL price
- User asks "what's the price of BONK/JUP/SOL?"
Prerequisites
The helper script uses only Python standard library (urllib, json, argparse). No external packages required.
Pricing data comes from CoinGecko's free API (no key needed, rate-limited
to ~10-30 requests/minute). For faster lookups, use --no-prices flag.
Quick Reference
RPC endpoint (default): https://api.mainnet-beta.solana.com Override: export SOLANA_RPC_URL=https://your-private-rpc.com
Helper script path: ~/.hermes/skills/blockchain/solana/scripts/solana_client.py
python3 solana_client.py wallet <address> [--limit N] [--all] [--no-prices]
python3 solana_client.py tx <signature>
python3 solana_client.py token <mint_address>
python3 solana_client.py activity <address> [--limit N]
python3 solana_client.py nft <address>
python3 solana_client.py whales [--min-sol N]
python3 solana_client.py stats
python3 solana_client.py price <mint_or_symbol>
Procedure
0. Setup Check
python3 --version
# Optional: set a private RPC for better rate limits
export SOLANA_RPC_URL="https://api.mainnet-beta.solana.com"
# Confirm connectivity
python3 ~/.hermes/skills/blockchain/solana/scripts/solana_client.py stats
1. Wallet Portfolio
Get SOL balance, SPL token holdings with USD values, NFT count, and portfolio total. Tokens sorted by value, dust filtered, known tokens labeled by name (BONK, JUP, USDC, etc.).
python3 ~/.hermes/skills/blockchain/solana/scripts/solana_client.py \
wallet 9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM
Flags:
--limit N— show top N tokens (default: 20)--all— show all tokens, no dust filter, no limit--no-prices— skip CoinGecko price lookups (faster, RPC-only)
Output includes: SOL balance + USD value, token list with prices sorted by value, dust count, NFT summary, total portfolio value in USD.
2. Transaction Details
Inspect a full transaction by its base58 signature. Shows balance changes in both SOL and USD.
python3 ~/.hermes/skills/blockchain/solana/scripts/solana_client.py \
tx 5j7s8K...your_signature_here
Output: slot, timestamp, fee, status, balance changes (SOL + USD), program invocations.
3. Token Info
Get SPL token metadata, current price, market cap, supply, decimals, mint/freeze authorities, and top 5 holders.
python3 ~/.hermes/skills/blockchain/solana/scripts/solana_client.py \
token DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263
Output: name, symbol, decimals, supply, price, market cap, top 5 holders with percentages.
4. Recent Activity
List recent transactions for an address (default: last 10, max: 25).
python3 ~/.hermes/skills/blockchain/solana/scripts/solana_client.py \
activity 9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM --limit 25
5. NFT Portfolio
List NFTs owned by a wallet (heuristic: SPL tokens with amount=1, decimals=0).
python3 ~/.hermes/skills/blockchain/solana/scripts/solana_client.py \
nft 9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM
Note: Compressed NFTs (cNFTs) are not detected by this heuristic.
6. Whale Detector
Scan the most recent block for large SOL transfers with USD values.
python3 ~/.hermes/skills/blockchain/solana/scripts/solana_client.py \
whales --min-sol 500
Note: scans the latest block only — point-in-time snapshot, not historical.
7. Network Stats
Live Solana network health: current slot, epoch, TPS, supply, validator version, SOL price, and market cap.
python3 ~/.hermes/skills/blockchain/solana/scripts/solana_client.py stats
8. Price Lookup
Quick price check for any token by mint address or known symbol.
python3 ~/.hermes/skills/blockchain/solana/scripts/solana_client.py price BONK
python3 ~/.hermes/skills/blockchain/solana/scripts/solana_client.py price JUP
python3 ~/.hermes/skills/blockchain/solana/scripts/solana_client.py price SOL
python3 ~/.hermes/skills/blockchain/solana/scripts/solana_client.py price DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263
Known symbols: SOL, USDC, USDT, BONK, JUP, WETH, JTO, mSOL, stSOL, PYTH, HNT, RNDR, WEN, W, TNSR, DRIFT, bSOL, JLP, WIF, MEW, BOME, PENGU.
Pitfalls
- CoinGecko rate-limits — free tier allows ~10-30 requests/minute.
Price lookups use 1 request per token. Wallets with many tokens may
not get prices for all of them. Use
--no-pricesfor speed. - Public RPC rate-limits — Solana mainnet public RPC limits requests. For production use, set SOLANA_RPC_URL to a private endpoint (Helius, QuickNode, Triton).
- NFT detection is heuristic — amount=1 + decimals=0. Compressed NFTs (cNFTs) and Token-2022 NFTs won't appear.
- Whale detector scans latest block only — not historical. Results vary by the moment you query.
- Transaction history — public RPC keeps ~2 days. Older transactions may not be available.
- Token names — ~25 well-known tokens are labeled by name. Others
show abbreviated mint addresses. Use the
tokencommand for full info. - Retry on 429 — both RPC and CoinGecko calls retry up to 2 times with exponential backoff on rate-limit errors.
Verification
# Should print current Solana slot, TPS, and SOL price
python3 ~/.hermes/skills/blockchain/solana/scripts/solana_client.py stats
Frequently asked questions about Solana Blockchain
Similar skills
WinMD API Search
Easily find and explore Windows desktop APIs.
WebMCPify
Transform any web app into an agent-ready platform.
Phoenix Tracing
Instrument LLM applications with OpenInference tracing.
Foundry Hosted Agent CopilotKit
Guidance for developing agentic web apps on Azure.
Power Automate Foundation
Connect AI agents to Power Automate seamlessly.
Power Automate Flow Builder
Efficiently build and deploy Power Automate flows programmatically.
