Categories
Solana

Hey everyone,

I’m trying to calculate the price of a token in a Raydium AMM v4 pool, but I’m getting some odd results.

Here’s what I have:

  • Base vault tokens (B): 619.83626

  • Quote vault tokens (Q): 0.000003886

I thought the price of the base token should be calculated as Q / B, but when I do that:

  • Price = B / Q = 0.0₉62694

However, when I check Photon-SOL, the price is 0.0₉6864.

Is my math off, or is there something else I’m missing in the equation? Appreciate any help!

Thanks!

submitted by /u/Chemical-Calendar863
[link] [comments]

Join The SmashBotAI Telegram Community Now! Get trade alerts, smashable token trade ideas, and more!

https://t.me/smashbotcommunity

Start Trading Now:

SmashBotAI Telegram Bot

Claim Your $SMASH Airdrop Now!

Join The SmashBotAI Telegram Community Now! Get trade alerts, smashable token trade ideas, and more! https://t.me/smashbotcommunity

Start Trading Now:
SmashBotAI Telegram Bot

Claim Your $SMASH Airdrop Now!

Categories