Get CLMM Pools
Retrieve pool information from the Ferra protocol.
Overview
The SDK provides multiple methods to fetch pool data, from basic immutable info to complete pool state with real-time data.
Quick Start
import { clmmMainnet, initFerraSDK } from '@ferra-labs/clmm'
// Initialize SDK
const sdk = initFerraSDK({
...clmmMainnet,
network: 'beta',
fullNodeUrl: 'https://...',
wallet: '0x...'
})
// Get a single pool
const pool = await sdk.Pool.getPool('0x...')
// Get multiple pools
const pools = await sdk.Pool.getPools()Get Single Pool
Fetch complete pool data with current state:
Get Multiple Pools
Basic Usage
With Pagination
Get Pool Immutables
Lightweight method for basic pool info:
Pool Data Structure
Filtering Pools
By Coin Types
Real-time Updates
Error Handling
Last updated