Solana api reference

From swcstudiospace/PumpGrok · View interactive version

Solana api reference is an AI agent skill from the GitHub repository swcstudiospace/PumpGrok. 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.

How to use this skill

Skill file

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

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.