Estimate the cost and amount of tokens to purchase for an initial buy operation in a liquidity pool.
Protocol config version
x >= 0Percentage of the initial token A amount to purchase (e.g., 1 for 1%)
1
Program ID of the Heaven DEX program
"HEAVENoP2qxoeuF8Dj2oT1GHEnu49U5mJYkdeC8BAX2o"
Slippage percentage (e.g., 0.005 for 0.5%)
0.005
Cost of the initial purchase in lamports
x >= 0Cost of the initial purchase in SOL
Cost of the initial purchase in USD
Amount of tokens to purchase in the initial buy
x >= 0Amount of tokens to purchase in the initial buy in UI format