Estimate the cost of purchasing a percentage of the initial token supply when creating a new standard pool.
Useful for calculating how much SOL is needed for the initial dev buy during pool creation.
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