Skip to content

Probably an error in getClmmPoolLines() #113

Open
@PaulGolubko

Description

@PaulGolubko

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions