Get a quote for selling tokens in a standard pool.
Returns the estimated SOL output, fees, and minimum output after slippage. Pass the full response object to /tx/sell to build the transaction.
Amount of tokens to sell in UI format
100
Use 1 for Community Token and 2 for Creator Token
x >= 0Mint address of the token
"LiGHtkg3uTa9836RaNkKLLriqTNRcMdRAhqjGWNv777"
Program ID of the Heaven DEX program
Slippage in basis points (bps), e.g., 50 bps = 0.5%
x >= 050
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