Cetus Developer Docs
  • 💻DEVELOPER
    • Dev Overview
    • via SDK
      • Getting Started
      • Prerequisites
      • Features Available
        • Get clmm pools
        • Get positions
        • Get reward
        • Get ticks
        • Create clmm pool
        • Open position
        • Add liquidity
        • Remove liquidity
        • Close position
        • Collect fees
        • Collect rewards
        • Preswap
        • Swap
        • Partner swap
        • Smart router v1
        • Smart router v2
        • Price impact
        • Minimum received & Maximum sold
        • Fee
        • Liquidity and coin amounts calculation
        • APR correlation calculation
        • Price, tick index and sqrt price correlation calculation
      • Changelog
    • via Contract
      • Getting Started
      • Data Structure
      • Features Available
        • Create Pool
        • Swap and Preswap
        • Flash loan
        • Open position
        • Add liquidity
        • Repay the receipt about add liquidity
        • Get position liquidity
        • Get position amounts
        • Get positions of pool
        • Remove liquidity
        • Collect fee
        • Collect reward
        • Close position
      • Contract ErrorCode
      • Changelog
    • Cetus Aggregator
      • Getting started
      • Prerequisites
      • Features Available
        • Old swap params
        • Overlay fee
      • Changelog
    • Cetus Terminal
Powered by GitBook
On this page
  • 1. Get data
  • 2. Pools and postions
  • 3. Swap
  • 4. Liquidity correlation calculation
  • 5. APR correlation calculation
  1. 💻DEVELOPER
  2. via SDK

Features Available

1. Get data

1.1 Get clmm pools

1.2 Get positions

1.3 Get reward

1.4 Get ticks

2. Pools and postions

2.1 Create clmm pool

2.2 Open position

2.3 Add liquidity

2.4 Remove liquidity

2.5 Close position

2.6 Collect fees

2.7 Collect rewards

3. Swap

3.1 Pre Swap

3.2 Swap

3.3 Partner swap

3.4 Smart router v1

3.5 Smart router v2

3.6 Price impact

3.7 Minimum received & Maximum sold

3.8 Fee

4. Liquidity correlation calculation

4.1 Liquidity correlation calculation

5. APR correlation calculation

5.1 Pool APR

5.2 Position APR

PreviousPrerequisitesNextGet clmm pools

Last updated 4 months ago