Create a new pro liquidity pool using an existing SPL token.
All fees default to 0% except protocol fee (0.3%, set by protocol config). All fee fields are optional.
| Field | Fee type | Default |
|---|---|---|
creator_trading_fee | Claimable by pool creator | 0% |
reflection_trading_fee | Distributed to token holders | 0% |
liquidity_provider_trading_fee | Distributed to LP providers | 0% |
creator_slot_trading_fee | Slot-based sniper resistance | Disabled |
Each fee type accepts an array of FeeBracketInput with market_cap_upper_bound, buy_fee_bps, and sell_fee_bps. 1 bps = 0.01%, so 100 bps = 1%.
All optional, wrapped in a features object:
| Toggle | Default | Description |
|---|---|---|
enable_swap | true | Allow buying and selling |
enable_deposit_liquidity | true | Allow depositing liquidity |
enable_withdraw_liquidity | true | Allow withdrawing liquidity |
enable_update_creator_trading_fee | true | Allow fee bracket updates |
enable_same_slot_trading | false | Allow buy+sell in same slot |
enable_sandwich_resistant_mode | false | MEV sandwich protection |
Request to create a new pro liquidity pool. Unlike standard pools, pro pools use an existing SPL token and give creators full control over initial liquidity, fee structure, and pool features.
Public key of the wallet that will sign and pay for the transaction.
Public key of the pool creator. This wallet will have creator privileges (toggle features, set fees, claim creator fees).
Arbitrary string data emitted as an on-chain event. Useful for tracking or attributing transactions.
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.
Mint address of the SPL token (token A) in the pool.
Amount of token A (in native/smallest units) to deposit as initial liquidity. Must be large enough to satisfy the minimum liquidity requirement.
x >= 0Amount of SOL (in lamports) to deposit as initial liquidity. Together with token A, this sets the initial price.
x >= 0Address of an on-chain Address Lookup Table (ALT) to compress the transaction size.
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 >= 0Optional feature toggles for the pool. Controls whether swapping, deposits, withdrawals, and other features are enabled at creation time. All default to sensible values if omitted.
Creator trading fee brackets. Up to 4 brackets with market cap thresholds. Uses protocol config defaults if omitted.
Optional slot-offset based creator fee for sniper resistance. When active, takes precedence over market cap based creator fees.
{
"brackets": [
{
"buy_fee_bps": 5000,
"sell_fee_bps": 5000,
"slot_offset_upperbound": 5
},
{
"buy_fee_bps": 1000,
"sell_fee_bps": 1000,
"slot_offset_upperbound": 15
}
],
"max_slot_offset": 15,
"max_fee_bps": 5000,
"enabled": true
}Optional reflection trading fee brackets. Reflection fees are distributed to token holders. Uses protocol defaults if omitted.
Optional LP provider trading fee brackets. LP fees are distributed to liquidity providers. Uses protocol defaults if omitted.