solana

Query Solana blockchain data with USD pricing via RPC and CoinGecko.

Updated Jun 5, 2026
One-click install
npx skills add https://github.com/xu1713/openhorse --skill solana-xu1713
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: solana
Source: https://github.com/xu1713/openhorse/tree/main/openhorse/openhorse/optional-skills/blockchain/solana
Command: npx skills add https://github.com/xu1713/openhorse --skill solana-xu1713

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? Checking Solana wallet balances, token holdings, transactions, and network stats normally requires juggling block explorers and multiple APIs. This Skill provides a single command-line interface that queries Solana RPC endpoints and enriches results with USD prices from CoinGecko, with no API key required. ## Core Features & Use Cases - Wallet Portfolio Analysis: Get SOL balance, SPL token holdings sorted by USD value, NFT counts, and total portfolio value with dust filtering. - Transaction & Token Inspection: Look up full transaction details by signature, or fetch SPL token metadata, price, market cap, and top holders. - Network Monitoring & Whale Detection: Check live network stats (slot, epoch, TPS, SOL price) and scan the latest block for large SOL transfers. - Use Case: A user asks "what's in this Solana wallet and how much is it worth?" — run the wallet command with the address to get a complete portfolio breakdown with USD valuations. ## Quick Start Ask the agent to check the SOL balance and token portfolio value of a given Solana wallet address.

Frequently Asked Questions about solana

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check a Solana wallet balance and token portfolio?

Run the wallet command with the address: python3 solana_client.py wallet <address>. It returns the SOL balance, SPL token holdings sorted by USD value, NFT count, and total portfolio value. Use --no-prices for faster RPC-only results.

How to look up a Solana transaction by signature?

Use the tx command with the base58 signature: python3 solana_client.py tx <signature>. It shows slot, timestamp, fee, status, balance changes in SOL and USD, and invoked programs. Note public RPC only keeps about 2 days of history.

Does this Solana tool require an API key?

No API key is required. It uses the public Solana mainnet RPC endpoint and CoinGecko's free API. You can optionally set SOLANA_RPC_URL to a private endpoint like Helius or QuickNode for better rate limits.

Why are some token prices missing from my wallet output?

CoinGecko's free tier limits requests to roughly 10-30 per minute, and price lookups use one request per token. Wallets with many tokens may not get all prices. Use the --no-prices flag to skip price lookups entirely.

Can it detect all NFTs in a Solana wallet?

No, NFT detection is heuristic based on tokens with amount=1 and decimals=0. Compressed NFTs (cNFTs) and Token-2022 NFTs are not detected by this method.

What are the limitations of the whale detection feature?

The whales command scans only the most recent block for large SOL transfers, so it is a point-in-time snapshot rather than historical analysis. Results vary depending on when you run the query.