Open
Description
According to API docs https://api-v3.raydium.io/docs/#/POOLS/get_pools_line_liquidity
, there no such query param as pool_id
.
Seems like query param id
is meant to be used
async getClmmPoolLines(poolId: string): Promise<{ price: string; liquidity: string }[]> {
const res = await this.api.get(
`${this.urlConfigs.POOL_LIQUIDITY_LINE || API_URLS.POOL_LIQUIDITY_LINE}?pool_id=${poolId}`,
);
return res.data;
}
Metadata
Metadata
Assignees
Labels
No labels