Body
application/json
Protocol config version
Required range:
x >= 0Percentage of the initial token A amount to purchase (e.g., 1 for 1%)
Example:
1
Program ID of the Heaven DEX program
Example:
"HEAVENoP2qxoeuF8Dj2oT1GHEnu49U5mJYkdeC8BAX2o"
Slippage percentage (e.g., 0.005 for 0.5%)
Example:
0.005
Response
200 - application/json
Cost of the initial purchase in lamports
Required range:
x >= 0Cost of the initial purchase in SOL
Cost of the initial purchase in USD
Amount of tokens to purchase in the initial buy
Required range:
x >= 0Amount of tokens to purchase in the initial buy in UI format