Get a buy quote for a pro pool.
Returns the estimated token output, fees, and minimum output after slippage. Unlike standard quotes, pro pool quotes require the pool address since pro pool PDAs include the creator in their derivation.
Pass the full response to /tx/pro/buy to build the transaction.
Request a buy quote for a pro pool. Returns the estimated token output and fee breakdown.
Protocol config version. Use 1 for community tokens, 2 for creator tokens, 3 for pro pools.
x >= 0Mint address of the SPL token (token A) in the pool.
Program ID of the Heaven DEX program. Use HEAVENoP2qxoeuF8Dj2oT1GHEnu49U5mJYkdeC8BAX2o for mainnet.
Maximum SOL to spend (in SOL, not lamports). For example, 1.5 means 1.5 SOL.
Maximum acceptable slippage in basis points. 50 = 0.5%. Set to 0 for no slippage tolerance.
x >= 0On-chain address of the pro pool state account. Returned in the response when creating a pool.
Protocol config version used for the quote.
x >= 0Maximum amount of lamports to spend for the buy operation
x >= 0Maximum amount of SOL to spend for the buy operation
Minimum amount of tokens to receive from the buy operation
x >= 0Minimum amount of tokens to receive from the buy operation in UI format
Mint address of the token being bought.
Heaven DEX program ID used.
Slippage tolerance applied (basis points).
x >= 0