raydium-io / raydium-sdk

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

How to get pool reserves? #29

Closed SerK0 closed 1 year ago

SerK0 commented 2 years ago

Hi! Use python and solana.py I'm trying to configure websocket to track pool reserve and for test have taken SOL/USDC pool: 58oQChx4yWmvKdwLLZzBi4ChoCc2fqCUWBkwMihLYQo2 I have found that if I track baseVault from baseVault address DQyrAcCrDXQ7NeoqGgDCZwBvWDcYmFCjSb9JtteuvPpz, it shows lower level of reserves of SOL token than Raydium UI shows. What could be a problem? Where to find correct pool reserves? Could I get it from websocket data from SOL/USDC account?

vianiGa commented 1 year ago

Hello @SerK0 have you been attended to ?

rudy5348 commented 1 year ago

because there are still some coins in the market vault