Set market cap based creator fee brackets on a pro pool. Only the pool creator can call this.
Brackets are evaluated from lowest to highest market_cap_upper_bound. Use 9223372036854775807 (max int64) for the final catch-all bracket.
Example — charge 2% below 1M, 0.5% above:
market_cap_upper_bound | buy_fee_bps | sell_fee_bps | Effective rate |
|---|---|---|---|
100000000000 | 200 | 200 | 2% below $100k |
1000000000000 | 100 | 100 | 1% up to $1M |
9223372036854775807 | 50 | 50 | 0.5% above $1M |
Set market cap based creator trading fee brackets on a pro pool. Allows the creator to define different fee rates at different market cap levels. Only the pool creator can call this.
On-chain address of the pro pool state account. Returned in the response when creating a pool.
Public key of the wallet that will sign and pay for the transaction.
Program ID of the Heaven DEX program. Use HEAVENoP2qxoeuF8Dj2oT1GHEnu49U5mJYkdeC8BAX2o for mainnet.
Array of fee brackets (max 4). Each bracket defines buy/sell fees in basis points below a market cap threshold. Brackets should be ordered by ascending market_cap_upper_bound.
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 with the creator wallet, and submit.