Skip to content
Back to skills

Solana Api Reference

ASecurity

Exact request shapes, response fields, and unit traps for every Solana surface the desk touches (JSON-RPC, Jupiter v2 order, pump.fun REST, PumpPortal WS). Read before writing any new call.

  • 75 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 12, 2026
ai-agentsapidocumentation

Works with

  • api

Security analysis

A100/100

Scanned November 8, 2026

npx -y skills add swcstudiospace/PumpGrok --skill solana-api-reference --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Solana Api Reference?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Solana Api Reference
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/swcstudiospace-solana-api-reference/badge)](https://www.skillsdirectory.com/skills/swcstudiospace-solana-api-reference)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: solana-api-reference
description: Exact request shapes, response fields, and unit traps for every Solana surface the desk touches (JSON-RPC, Jupiter v2 order, pump.fun REST, PumpPortal WS). Read before writing any new call.
bots:
  - bot-04-sniper
gates: []
required_tools: []
required_data: []
permissions:
  max_side_effect: read
  network: true
  filesystem: none
---

# Solana API Reference

## L1 - Summary
The exact request shapes, response fields, and unit traps for every Solana surface the desk touches. Read this before writing any new call; never guess an endpoint.

## L2 - Method
1. Jupiter: quote-only `GET https://api.jup.ag/swap/v2/order` with `inputMint`, `outputMint`, `amount`, `slippageBps` and `x-api-key` from `JUPITER_API_KEY`. Never send `taker`. Never call `/execute`, `/build`, or `/submit`. Unit trap: v2 `priceImpact` is percentage points; divide by 100 for a ratio. The quote is informational, never the fill.
2. Solana RPC (common): `getBalance`, `getTokenAccountsByOwner`, `getAccountInfo` (mint / freeze authority), `getRecentPrioritizationFees`, `getTokenLargestAccounts`, `getTransaction` / `getSignaturesForAddress`.
3. Usage rule: when in doubt about an endpoint, re-read this skill or the live documentation rather than guessing.

## Failure modes
- Deprecated v1 swap endpoints: do not use them; v2 order is the only Jupiter path.
- Guessed parameters: rejected. Every field above is exact.
- Quote treated as fill: the fill comes only from `exec.place`.

## References
- Port: `src/pumpgrok/tools/market/jupiter.py`, `src/pumpgrok/tools/onchain/`
- Companion skill: `jupiter-routing` (route preparation), `solana-rpc-and-wallet` (wallet rules)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.