solana-api-reference
Compact, reliable reference for the most-used Jupiter endpoints, Solana RPC methods, rugcheck patterns, and Solscan queries. Prevents hallucination of API shapes.
SKILL.mdskills/solana-api-reference/SKILL.md
GitHubSolana 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
- Jupiter: quote-only
GET https://api.jup.ag/swap/v2/orderwithinputMint,outputMint,amount,slippageBpsandx-api-keyfromJUPITER_API_KEY. Never sendtaker. Never call/execute,/build, or/submit. Unit trap: v2priceImpactis percentage points; divide by 100 for a ratio. The quote is informational, never the fill. - Solana RPC (common):
getBalance,getTokenAccountsByOwner,getAccountInfo(mint / freeze authority),getRecentPrioritizationFees,getTokenLargestAccounts,getTransaction/getSignaturesForAddress. - 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)