Get a sell quote for a pro pool.
Returns the estimated SOL output, fees, and minimum output after slippage. Requires the pool address.
Pass the full response to /tx/pro/sell to build the transaction.
Request a sell quote for a pro pool. Returns the estimated SOL 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.
Amount of tokens to sell in UI format (human-readable with decimals). For example, 1000.5 for a 9-decimal token means 1000500000000 native units.
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.
Amount of tokens to sell (native units).
x >= 0Amount of tokens to sell (human-readable with decimals).
Protocol config version used for the quote.
x >= 0Minimum SOL output after slippage (lamports).
x >= 0Minimum SOL output after slippage (human-readable).
Mint address of the token being sold.
Heaven DEX program ID used.
Slippage tolerance applied (basis points).
x >= 0