Skip to main content
Interact with Orca’s Whirlpool protocol for concentrated liquidity positions. Manage positions, provide liquidity, and create pools with customizable price ranges.

Core Features

  1. Position Management
    • Create centered positions
    • Create single-sided positions
    • Close positions
    • Fetch position data
  2. Liquidity Provision
    • Symmetric ranges
    • Custom price ranges
    • Single-token deposits
    • Multiple fee tiers

Usage

Create Centered Position

Create Single-Sided Position

Close Position

Fetch Positions

Example Prompts

Natural Language Prompts

LangChain Tool Prompts

Centered Position

Single-Sided Position

Fee Tiers

Implementation Details

Centered Position

Single-Sided Position

Position Data

Error Handling

Best Practices

  1. Position Creation
    • Monitor price ranges
    • Consider fee tiers
    • Verify token amounts
    • Check slippage
  2. Range Selection
    • Analyze volatility
    • Consider trading volume
    • Monitor price trends
    • Balance risk/reward
  3. Position Management
    • Monitor in-range status
    • Track fee earnings
    • Rebalance when needed
    • Plan exit strategy
  4. Performance
    • Use price oracles
    • Batch transactions
    • Monitor gas costs
    • Handle timeouts

Common Issues

  1. Price Range
    • Out of bounds
    • Too narrow
    • Asymmetric ranges
    • Price movement
  2. Liquidity
    • Insufficient funds
    • Unbalanced tokens
    • High slippage
    • Pool constraints
  3. Technical
    • Invalid addresses
    • Tick spacing
    • Transaction failure
    • RPC errors

Common Token Addresses

  • USDC: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
  • SOL: So11111111111111111111111111111111111111112
  • ORCA: orcaEKTdK7LKz57vaAYr9QeNsVEPfiu6QeMU1kektZE
  • USDT: Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB
  • orcaFetchPositions: Get position data
  • orcaClosePosition: Close positions
  • getBalance: Check token balances
  • getTokenData: Get token information