Skip to main content

Timeline for Token balances on liquidity pools

Current License: CC BY-SA 4.0

6 events
when toggle format what by license comment
May 20 at 16:26 comment added AdityaDees are quotebalance == quoteBalace?
Feb 7 at 13:47 comment added San Martín Figueroa Pablo This is what I got: NAME: Bat (🦇) --------------------------------------------------- Mint: FSyViTWXCQPP6haLH7TbVKhAy6waRXXtt2uA47xBQo8o Pair: JDwheQTaKX424rEiYwKzGzZqNEepdLRZHTEX4pCarWbR Quote Token: Wrapped SOL (SOL) SOL Price: $ 96.23 USD Token Amount: 1000000000 Sol Amount: 500 SOL Token Price USD: $ 0.000048116293 Liquidez del Pool: $96232.59 USD Open Time: 16:08:00 Catch Time: 16:01:06 and the LIQUIDITY is the same as showing in the DEX
Feb 7 at 13:41 comment added lsrth to be fair, I do agree that your logic is correct, it's just that the numbers don't make sense when you apply that logic to the values returned using the RPC API
Feb 7 at 13:39 comment added lsrth don't think you saw what is returned when you fetch the token balances (I tested in Python and Typescript btw). Here is what you get: base_token_info = {'uiAmount': 24340.758636285, 'decimals': 9, 'amount': '24340758636285', 'uiAmountString': '24340.758636285'} quote_token_info = {'uiAmount': 3846894.249247, 'decimals': 6, 'amount': '3846894249247', 'uiAmountString': '3846894.249247'} Now, if you do 3846894 / 24340, you get 158... Solana price is at 96 right now, so nowhere close
S Feb 7 at 4:10 review First answers
Feb 7 at 12:56
S Feb 7 at 4:10 history answered San Martín Figueroa Pablo CC BY-SA 4.0