Settlement Fees
GlueX applies a 0.03%–0.05% settlement fee on every trade executed through the Router API. This fee is shared 50/50 between GlueX and the integratorHighlights
- Low settlement fees: Between 0.03% and 0.05% per trade
- Minimum floor: 0.2c per trade, split equally between GlueX (0.1c) and integrator (0.1c)
- Revenue sharing: Settlement fees are split equally between GlueX and the integrator
- No hidden costs: What you quote is what the user gets — with all fees accounted for transparently in the returned values
Partner Fee Model
To help integrators monetize their services, GlueX supports a configurable partner fee mechanism that allows a portion of the output amount to be automatically redirected to a designated walletConfiguration
partnerFee
: Basis points (bps) applied to the output amount, deducted before final output.partnerAddress
: Wallet address where partner fees are sent.
How It Works
Partner fees are factored into bothminOutputAmount
and effectiveOutputAmount
. Once the trade is executed on-chain, the fee amount is automatically transferred to your partnerAddress
.
Surplus Rebates
“Surplus” refers to the added value when GlueX’s routing achieves better-than-benchmark execution (e.g., compared to next best aggregator’s market rate). This can result from:- Optimized routing paths across liquidity sources
- Gas savings via efficient transaction design
- Proprietary internal methods
- Exclusive liquidity partnerships
Surplus Distribution
Recipient | Share of Surplus |
---|---|
User | ≥ 33% |
Integrator | ≤ 33% |
GlueX | ≤ 33% |
Activation
To receive your share of surplus rewards:WhenactivateSurplusFee
is enabled, specialized contracts handle the fair distribution of captured surplus, ensuring yourpartnerAddress
receives its portion automatically.
Positive Slippage Rebates
When trades execute better than quoted (i.e., positive slippage exists), GlueX ensures that this extra value is fairly distributed between the user, the integrator, and the protocol - in the same ratio as the surplus.Distribution
- User: Gets the primary share of the extra output.
- Integrator: Rewarded for brinding orderflow and optimizing experience.
- GlueX: Retains a portion to support protocol growth and sustainability.
At GlueX, our commitment is to building a transparent, fair, and sustainable ecosystem for all participants. For help with fee setup, surplus activation, or to explore custom fee structures and partnership opportunities , reach out via our official Telegram.