Query Pool Data
1. Get the list of pools
Function input params
options: Query options for pagination and filtering.
Example
const poolList = await sdk.Pool.getPoolList()2. Get information about a pool
Function input params
poolAddress: The address of the pool
Example
const pool = await sdk.Pool.getPool(poolAddress)3. Get the list of ticks for a pool
Example
const pool = await sdk.Pool.getPool(poolAddress)
const res = await sdk.Pool.getPoolTickList(pool.tick_manager.id)4. Get the token amounts for a pool
Example
const amounts = await sdk.Pool.getPoolTokenAmounts(poolAddress)Last updated