gmgn-swap
gmgn swap
What it does
- Every swap and order strategy create command submits an on-chain transaction that moves real funds.
- Transactions cannot be undone once confirmed on-chain.
- The AI agent must never auto-execute a swap — explicit user confirmation is required every time, without exception.
- Only use this skill with funds you are willing to trade. Start with small amounts when testing.
- gmgn-cli installed globally — if missing, run: npm install -g gmgn-cli
- Read X-RateLimit-Reset from the response headers. It is a Unix timestamp in seconds that marks when the limit is expected to reset.
- For RATELIMITEXCEEDED or RATELIMITBANNED, repeated requests during the cooldown can extend the ban by 5 seconds each time, up to 5 minutes.
Requirements & configuration
- | swap | Submit a token swap |
- | multi-swap | Submit token swaps across multiple wallets concurrently (up to 100) |
- | order quote | Get a swap quote (no transaction submitted; exist auth — API Key only, no private key needed) |
- | gas-price | Query recommended gas price (low / average / high tiers) for any chain; exist auth (API Key only) |
- | order strategy create | Create a limit/strategy order (requires private key) |
Configuration: GMGN_API_KEYGMGN_PRIVATE_KEYGMGN_ALLOW_AUTOMATED_TRADESPOSTRATE_LIMIT_EXCEEDEDRATE_LIMIT_BANNEDERROR_RATE_LIMIT_BLOCKED
Derived from the skill's own SKILL.md documentation · extracted 2026-07-23
gmgn-swap FAQ
What does the gmgn-swap skill do?
[FINANCIAL EXECUTION] Buy and sell meme coins and crypto tokens on Solana, BSC, Base, or Ethereum — single swap, multi-wallet batch trading, limit orders, stop loss, take profit, trailing stop loss, trailing take profit via GMGN API. Requires explicit user confirmation. Use when user asks to buy, sell, or swap a token, trade from multiple wallets, set a limit order, stop loss, take profit, or check order status. Every swap and order strategy create command submits an on-chain transaction that moves real funds. Transactions cannot be undone once confirmed on-chain.
What does gmgn-swap require?
| swap | Submit a token swap | | multi-swap | Submit token swaps across multiple wallets concurrently (up to 100) | | order quote | Get a swap quote (no transaction submitted; exist auth — API Key only, no private key needed) | | gas-price | Query recommended gas price (low / average / high tiers) for any chain; exist auth (API Key only) | | order strategy create | Create a limit/strategy order (requires private key) | Configuration keys: GMGN_API_KEY, GMGN_PRIVATE_KEY, GMGN_ALLOW_AUTOMATED_TRADES, POST, RATE_LIMIT_EXCEEDED, RATE_LIMIT_BANNED, ERROR_RATE_LIMIT_BLOCKED.
How do I install gmgn-swap?
Run: npx -y skills add https://github.com/gmgnai/gmgn-skills --skill gmgn-swap --agent claude-code — the source lives at github.com/gmgnai/gmgn-skills.
Maintain gmgn-swap?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[](https://getagentictools.com/skills/gmgnai-gmgn-skills-gmgn-swap?ref=badge) npx agentictools info skills/gmgnai-gmgn-skills-gmgn-swap The second line is the CLI lookup for this page — handy in READMEs and docs.