agiprolabs/claude-trading-skills/helius-api

Claude Code and agent skill by agiprolabs/claude-trading-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Enhanced Solana RPC with DAS API, parsed transactions, webhooks, and priority fee estimation via Helius

Install

npx vskill@latest install agiprolabs/claude-trading-skills/helius-api

SKILL.md

Helius API — Enhanced Solana RPC

Helius extends standard Solana RPC with parsed transaction history, a unified Digital Asset Standard (DAS) API, webhooks, and priority fee estimation. Essential for wallet analysis, token metadata, and transaction monitoring.

Quick Start

1. Get an API Key

Sign up at dashboard.helius.dev — free tier available (1M credits/mo, no card required).

bash
export HELIUS_API_KEY="your-api-key"
2. Install Dependencies
bash
uv pip install httpx python-dotenv
3. Two Base URLs

Helius uses different base URLs depending on the API:

APIBase URLProtocol
RPC / DAS / Priority Feeshttps://mainnet.helius-rpc.com/?api-key=KEYJSON-RPC 2.0
Enhanced Transactions / Webhookshttps://api-mainnet.helius-rpc.com/v0/...?api-key=KEYREST

DAS API (Digital Asset Standard)

Unified interface for querying all Solana digital assets — fungible tokens, NFTs, compressed NFTs, Token-2022.

Get Asset Metadata
python
import httpx, os
API_KEY = os.environ["HELIUS_API_KEY"]
RPC_URL = f"https://mainnet.helius-rpc.com/?api-key={API_KEY}"
resp = httpx.post(RPC_URL, json={
"jsonrpc": "2.0", "id": 1,
"method": "getAsset",
"params": {
"id": "So11111111111111111111111111111111111111112", # wSOL
"options": {"showFungible": True}
}
})
asset = resp.json()["result"]
# asset.content.metadata.name, asset.token_info.decimals, etc.
Get All Assets for a Wallet
python
resp = httpx.post(RPC_URL, json={
"jsonrpc": "2.0", "id": 1,
"method": "getAssetsByOwner",
"params": {
"ownerAddress": "WALLET_ADDRESS",
"page": 1,
"limit": 100,
"displayOptions": {
"showFungible": True,
"showNativeBalance": True,
"showZeroBalance": False,
}
}
})
assets = resp.json()["result"]["items"]
Search Assets with Filters
python
resp = httpx.post(RPC_URL, json={
"jsonrpc": "2.0", "id": 1,
"method": "searchAssets",
"params": {
"ownerAddress": "WALLET_ADDRESS",
"tokenType": "fungible", # fungible | nonFungible | all
"page": 1,
"limit": 50,
}
})
All DAS Methods
MethodPurposeCredits
getAssetSingle asset metadata10
getAssetBatchUp to 1,000 assets10
getAssetsByOwnerAll assets for a wallet10
getAssetsByGroupAssets by collection10
getAssetsByCreatorAssets by creator10
getAssetsByAuthorityAssets by update authority10
searchAssetsMulti-criteria filtered search10
getAssetProofMerkle proof (compressed NFTs)10
getAssetProofBatchBatch proofs10
getSignaturesForAssetTx history for an asset10
getNftEditionsAll editions of a master10
getTokenAccountsToken accounts by mint/owner10

See references/das_api.md for complete field documentation.

Enhanced Transactions API

Transforms raw Solana transactions into human-readable structured data with categorized types and sources.

Parse a Transaction
python
API_URL = f"https://api-mainnet.helius-rpc.com/v0/transactions?api-key={API_KEY}"
resp = httpx.post(API_URL, json={
"transactions": ["SIGNATURE_HERE"],
})
parsed = resp.json()[0]
# parsed["type"] → "SWAP"
# parsed["source"] → "JUPITER"
# parsed["description"] → "User swapped 1 SOL for 150 USDC on Jupiter"
# parsed["tokenTransfers"] → [{mint, amount, from, to}, ...]
# parsed["nativeTransfers"] → [{from, to, amount}, ...]
Get Parsed Transaction History for a Wallet
python
url = f"https://api-mainnet.helius-rpc.com/v0/addresses/{wallet}/transactions"
resp = httpx.get(url, params={
"api-key": API_KEY,
"limit": 50,
"type": "SWAP", # optional filter
})
history = resp.json()
Transaction Types (151+)

Key types for trading analysis:

TypeMeaning
SWAPDEX swap
TRANSFERToken/SOL transfer
ADD_LIQUIDITY / REMOVE_LIQUIDITYLP operations
NFT_SALE / NFT_MINT / NFT_LISTINGNFT marketplace
STAKE_SOL / UNSTAKE_SOLStaking
CREATE_ORDER / FILL_ORDERLimit orders
Transaction Sources (50+)

JUPITER, RAYDIUM, ORCA, MAGIC_EDEN, TENSOR, MARINADE, METEORA, PHANTOM, etc.

See references/enhanced_transactions.md for full type/source enums.

Webhooks

Real-time notifications for on-chain events — no polling required.

Create a Webhook
python
url = f"https://api-mainnet.helius-rpc.com/v0/webhooks?api-key={API_KEY}"
resp = httpx.post(url, json={
"webhookURL": "https://your-server.com/helius-hook",
"transactionTypes": ["SWAP", "TRANSFER"],
"accountAddresses": ["WalletAddress1", "WalletAddress2"],
"webhookType": "enhanced",
"authHeader": "your-secret-token",
})
webhook_id = resp.json()["webhookID"]
Webhook Types
TypeData FormatFiltering
enhancedParsed (like Enhanced Transactions API)By transaction type + account
rawUnprocessed transaction dataBy account only (lower latency)
discordFormatted messages to Discord channelBy transaction type + account
Manage Webhooks
python
# List all
webhooks = httpx.get(f"{url}?api-key={API_KEY}").json()
# Update
httpx.put(f"{url}/{webhook_id}?api-key={API_KEY}", json={
"webhookURL": "https://new-url.com/hook",
"transactionTypes": ["SWAP"],
"accountAddresses": ["NewWallet..."],
"webhookType": "enhanced",
})
# Delete
httpx.delete(f"{url}/{webhook_id}?api-key={API_KEY}")

Up to 100,000 addresses per webhook (via API). 1 credit per event delivered.

Priority Fee API

Estimate optimal priority fees for transaction landing.

python
resp = httpx.post(RPC_URL, json={
"jsonrpc": "2.0", "id": 1,
"method": "getPriorityFeeEstimate",
"params": [{
"accountKeys": ["JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4"],
"options": {
"includeAllPriorityFeeLevels": True,
"recommended": True,
}
}]
})
fees = resp.json()["result"]
# fees["priorityFeeEstimate"] → recommended fee (microlamports/CU)
# fees["priorityFeeLevels"] → {min, low, medium, high, veryHigh, unsafeMax}
LevelPercentileUse Case
min0-20thNon-urgent
low20-40thStandard transfers
medium40-60thDEX swaps (recommended default)
high60-80thTime-sensitive
veryHigh80-95thCritical timing
unsafeMax100thEmergency only

Fee in microlamports/CU. Total priority fee = microlamports/CU × compute units consumed.

Pricing & Rate Limits

PlanPrice/moCreditsRPC req/sDAS req/s
Free$01M102
Developer$4910M5010
Business$499100M20050
Professional$999200M500100

Credit costs: Standard RPC = 1, DAS = 10, Enhanced Txns = 100, Webhooks = 1/event. Additional credits: $5/million.

Files

References
  • references/das_api.md — Complete DAS API field reference and response schemas
  • references/enhanced_transactions.md — Transaction types, sources, and response structure
  • references/webhooks.md — Webhook setup, management, and event handling
  • references/error_handling.md — Rate limits, error codes, and retry strategies
Scripts
  • scripts/wallet_analysis.py — Fetch wallet assets and parsed transaction history
  • scripts/token_lookup.py — Look up token metadata and holder information via DAS

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/agiprolabs/claude-trading-skills/helius-api/badge)](https://verified-skill.com/skills/agiprolabs/claude-trading-skills/helius-api)

Something wrong with this skill or its page? Tell us.