Pro Pool API
Set Slot Fee
Set slot-offset based creator fee brackets on a pro pool. Useful for sniper resistance — charge high fees in the first few seconds after launch that decay over time.
Each Solana slot is ~400ms. When active, slot fees take precedence over market cap based creator fees. Only the pool creator can call this.
Example — 50% for first ~2s, 10% for next ~4s, then normal fees:
slot_offset_upperbound | buy_fee_bps | sell_fee_bps | Timing |
|---|---|---|---|
5 | 5000 | 5000 | First ~2 seconds (50%) |
15 | 1000 | 1000 | Next ~4 seconds (10%) |
Set max_slot_offset: 15, max_fee_bps: 5000, enabled: true.
POST
Set Slot Fee
Body
application/json
Set slot-offset based creator fee brackets on a pro pool. Useful for implementing time-decaying fees (e.g. high fees right after launch for sniper resistance that decay over slots).