Get pools
1. Get all pools
Example
async function fetchAllPools() {
const poolItems = await sdk.Pool.fetchAllPools();
console.log(poolItems)
}2. Get pool by poolId
async function fetchOnePool() {
const pool = await sdk.Pool.fetchPoolById({
poolId: '0xf108...876b5'
})
}
3. Get pool by token asset types and feeTier
Last updated