raydium-io / raydium-sdk

An SDK for building applications on top of Raydium.
https://sdk.raydium.io
GNU General Public License v3.0
340 stars 134 forks source link

No instructions provided issue | Liquidity.fetchInfo({ connection, poolKeys }) #81

Closed alexrepetskyi closed 5 months ago

alexrepetskyi commented 5 months ago

Hello, I have an issue with:

const poolInfo = await Liquidity.fetchInfo({ connection, poolKeys });

I received:

Screenshot 2024-04-27 at 13 29 53

node_modules/@raydium-io/raydium-sdk/lib/cjs/common/web3.js:7:65

I checked the response at the Solana connection HTTP client:

Screenshot 2024-04-27 at 13 31 01

I did not make a lot of requests, it was just 1 request. Any idea how it can be solved?

My dependences:

 "@raydium-io/raydium-sdk": "^1.3.1-beta.52"
  "@solana/web3.js": "^1.91.4"
alexrepetskyi commented 5 months ago

@TimonPeng @rudy5348 Can you check it, please, it is not related to https://github.com/raydium-io/raydium-sdk/issues/77

alexrepetskyi commented 5 months ago

Solved. The issue was in the scope of my request for client implementation.

kienvtqhi commented 4 months ago

@alexrepetskyi Do you know how to get liquidity of LP by ID?

TomasAgustin95 commented 2 months ago

@alexrepetskyi I have same issues and how can you solved the issues? Could you explain more about this - "The issue was in the scope of my request for client implementation."