orca-plugin

Execute token swaps and query Orca Whirlpool liquidity pools on Solana.

12|64|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/okx/plugin-store --skill orca-plugin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: orca-plugin
Source: https://github.com/okx/plugin-store/tree/main/skills/orca-plugin
Command: npx skills add https://github.com/okx/plugin-store --skill orca-plugin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill simplifies token swaps and liquidity pool queries on Orca, a concentrated liquidity DEX on Solana, reducing the complexity of DeFi trading and enabling quick price checks without manual API interactions.

Core Features & Use Cases

  • Query Pools: Retrieve Orca Whirlpool pools for token pairs, sorted by TVL, to identify optimal liquidity sources.
  • Get Quotes: Calculate swap outputs with slippage and price impact estimates for informed trading decisions.
  • Execute Swaps: Perform secure token swaps via onchainos, with balance checks, security scans, and user confirmation to prevent errors and risks.
  • Use Case: A trader wants to swap 1 SOL for USDC; use this Skill to first get a quote, check price impact, and then execute the swap after confirmation.

Quick Start

Use the orca plugin to get a swap quote for 0.5 SOL to USDC on Solana.

Frequently Asked Questions about orca-plugin

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I swap tokens on Orca DEX using Solana?

To swap tokens on Orca DEX, retrieve a quote with slippage estimates, then execute the swap via onchainos CLI with built-in balance checks and user confirmation to prevent errors.

How do I query Orca Whirlpools liquidity pools for token pairs?

Query Orca Whirlpools liquidity pools by retrieving pool data for token pairs sorted by TVL via the Orca REST API, allowing you to identify optimal liquidity sources.

What is concentrated liquidity in Solana DEX trading?

Concentrated liquidity in Solana DEX trading allows liquidity providers to allocate assets within specific price ranges on Orca Whirlpools, enabling efficient capital usage and better swap pricing.

Do I need onchainos CLI to execute swaps on Orca?

Yes, you need onchainos CLI to execute secure token swaps on Orca, while the Orca REST API is used separately for retrieving pool data and calculating quotes.

Can I check price impact before executing a Solana token swap?

Yes, you can check price impact before executing a Solana token swap by requesting a quote from Orca, which calculates slippage and price impact estimates for informed decisions.

Does this approach support arbitrage detection on Solana mainnet?

Yes, this approach supports arbitrage detection on Solana mainnet by retrieving and comparing Orca Whirlpool pool data and swap outputs across token pairs to identify price discrepancies.