Withdraw liquidity from a pro pool by burning LP tokens.
You receive token A and SOL proportional to your share of the pool. Use min_token_a and min_token_b to set minimum acceptable amounts (slippage protection).
Withdraw liquidity from a pro pool by burning LP tokens. You receive token A and SOL proportional to your share of the pool.
Public key of the wallet that will sign and pay for the transaction.
Mint address of the SPL token (token A) in the pool.
Protocol config version. Use 1 for community tokens, 2 for creator tokens, 3 for pro pools.
x >= 0Program ID of the Heaven DEX program. Use HEAVENoP2qxoeuF8Dj2oT1GHEnu49U5mJYkdeC8BAX2o for mainnet.
Amount of LP tokens to burn. You will receive token A and SOL proportional to your pool share.
x >= 0Minimum amount of token A to receive. Protects against slippage.
x >= 0Minimum amount of SOL (lamports) to receive. Protects against slippage.
x >= 0On-chain address of the pro pool state account. Returned in the response when creating a pool.
Maximum compute units for the transaction. Higher values allow more complex operations but cost more. Defaults to a sensible value if omitted.
x >= 0Priority fee in micro-lamports per compute unit. Higher values increase transaction priority. Defaults to a sensible value if omitted.
x >= 0Base64 encoded versioned transaction. Decode, sign, and submit.