Open winktool opened 1 month ago
Hmm first glance I dont see whats wrong, looks like there is 0.4 SOL in the real sol reserves? What am I missing?
realSolReserves
should actually have a value much higher than 425330823n
, this happens by accident, the next request is back to normal!
Why dont you use virtualSolReserves instead, never had problem calculating the price that way. Also i think the real sol reserves are right, pumpfun adds 30 sol to the liquidity, i dont think they add that to the real sol reserves?
Sometimes, when you continuously request the data from the bondingCurveAccount, the returned data is abnormal, causing the price calculation to fail. Why does this happen? For example, in this case, there is an obvious anomaly in realSolReserves.