Traderjoexyz fees across pool rates, trading tools, and gas
Updated
Traderjoexyz fees include pool charges, with Liquidity Book rates that can rise when trading increases the pool's measured volatility. Network gas adds a separate transaction cost. Trader Joe adopted the LFJ brand in September 2024. Its ordinary Swap page adds no platform fee, while premium trading tools have a separate output-based execution charge. Joe V1 pools and Liquidity Book pools use different fee models. Routing, trade size, and recent pool activity can therefore change the cost a quote reflects. For a useful comparison, keep the input amount and token units consistent, then distinguish charges already included in the quote from gas paid separately.
A swap quote already includes pool charges, so deducting those charges again understates the quoted output.
The cost a pool fee percentage measures
A pool fee percentage expresses a liquidity charge relative to the swap's input, while a quote reports the output available after applying pool charges. Input and output tokens can have different values and decimal precision. Their quantities alone don't reveal the cost of the exchange. A fee in input tokens also uses a different unit from an output-token platform deduction. Comparing their values requires a consistent conversion price and timing.
When a route uses intermediate tokens, each hop has its own input amount. Its fee therefore relates to that amount and token. Adding raw fee amounts across different tokens creates no meaningful total. A route's final output quote incorporates the pool trades along its path; a wallet's gas estimate covers a separate network expense.
Base rates and per-bin fee calculations
Liquidity Book's effective swap-fee percentage equals the total fee in input-token units divided by the total input-token amount, multiplied by 100. For V2.2, gross input multiplied by the decimal fee fraction gives each bin's swap charge before integer rounding. Across several bins, the pool calculates fees on the input each bin processes. The effective rate consequently reflects those amounts as well as the rate in each bin.
The base component depends on the pool's base factor and bin step, meaning the price spacing between adjacent bins. A different pool for the same pair can use different settings. Joe V1 pools instead charge a fixed 0.3% of swap input. That V1 rate doesn't describe every route available through LFJ, since routing can use Liquidity Book pools or other liquidity sources.
The pool fee is already part of the computed output. Subtracting it again from that quote double-counts the charge.
Why do Liquidity Book fees rise during volatile trading?
Liquidity Book fees rise when a larger volatility accumulator increases the variable component, within the pool's configured accumulator limit and with variable fees enabled. The accumulator uses distance from a reference bin together with a volatility reference retained from earlier activity. The variable-fee calculation uses the square of the product of the volatility accumulator and bin step.
The time since the pool's last volatility update affects how much earlier volatility persists. Below the pool's filter period, the previous references remain in place. For an update after that filter window but before the decay period, the calculation applies the pool's reduction factor. Once the decay period has elapsed, the next update resets the volatility reference. These are pool parameters, so there isn't one universal waiting time for cheaper swaps.
Quiet intervals can reduce the retained component. A new trade can still generate volatility as it crosses bins.
Trade direction matters too. Movement back toward a retained reference can lower the accumulator, even during frequent trading. The mechanism doesn't treat every swap as an automatic fee increase. A pool with zero variable-fee control contributes no variable component, while its configured base fee still applies.
Different costs for the Swap page and premium tools
The LFJ Swap page adds no platform charge; its premium trading tools charge 1% of execution output, separate from applicable pool charges and gas. The listed tools include limit orders, dollar-cost averaging (DCA) orders, stop-loss orders, market orders through Terminal, and buys through Trenches. LFJ deducts the charge at execution and displays it before confirmation.
Network gas and approval costs
Network gas pays for onchain execution, so its amount follows the selected blockchain's fee rules and the work the transaction performs. For the execution component of an Ethereum Virtual Machine (EVM) transaction, gas used multiplied by the effective gas price gives the native-currency charge. A gas limit caps computational usage; it isn't the actual gas consumed.
An ERC-20 spending approval authorizes a contract to move tokens within an allowance. If establishing that allowance requires a separate onchain transaction, it adds its own gas cost. An existing sufficient allowance can remove that approval transaction; the swap still requires execution. Pool and platform percentages don't include this additional authorization expense.
A reverted EVM swap can consume gas even though its pool trades roll back. The cost covers computation the network performed. Gas also doesn't scale directly with the swap amount, so it can represent a larger fraction of costs for a smaller trade.
Liquidity-provider charges and fee allocation
Adding liquidity to a V2.2 Liquidity Book pool can incur a composition fee when the deposit changes the active bin's token proportions through an implicit exchange. Its trigger belongs to the active bin and deposit composition; it isn't a flat charge on every liquidity addition. The transaction still has a network cost, and any separate swaps used to obtain deposit tokens have their own trading charges.
A Liquidity Book pool's protocol share allocates part of collected swap fees to the protocol and leaves the remainder for liquidity providers. The V2.2 contracts allow a protocol share up to 25% of collected swap fees. That uses the fee itself as the calculation base, not the trade value. It's an allocation within the charge, so adding it again to the trader's pool rate would overstate the cost.
Fee income alone doesn't establish a liquidity position's profit. Inventory value and transaction costs also affect the outcome.
A consistent basis for comparing the final charge
A fee comparison needs the same trade input and token units. Account for each tool's platform charge, and distinguish quoted amounts from the charges recorded during execution.
- If the route uses several pools, account for each hop's fee in its own input-token units.
- If the route uses Liquidity Book, use the quote for that trade size and pool state.
- If a premium trading tool executes the trade, include its output-based platform charge.
- If a separate approval is necessary, include its gas alongside the swap's network estimate.
- If the token imposes a transfer charge, distinguish that deduction from the pool's trading fee.
The per-bin Swap events in a completed V2.2 Liquidity Book trade contain encoded totalFees and protocolFees values. Decoding totalFees and summing its input-token amounts gives that pool's recorded swap charge. The protocolFees amounts already belong to that total. The EVM receipt separately supplies execution gas usage and price.
A quote-to-output difference alone can't identify a fee. Price impact concerns the trade's pricing; slippage describes a change between the quote and execution.
Frequently asked questions about Traderjoexyz fees
What explains tiny differences in a Liquidity Book fee calculation?
V2.2 Liquidity Book rounds swap-fee amounts up to whole units of the input token's smallest denomination. A decimal calculation can therefore differ slightly from the contract result, especially for a small input. Token precision and the fee calculations in the bins used determine the exact amount; the displayed percentage alone doesn't capture integer rounding.
Can splitting a swap guarantee lower Liquidity Book fees?
Splitting a Liquidity Book swap doesn't guarantee lower total charges. Separate swaps face their own pool states, and frequent activity can retain the volatility reference. Smaller portions can cross fewer bins, but separately submitted transactions also add network costs. Bin usage alone doesn't establish lower total spending.
How can a Liquidity Book pool's fee configuration be inspected?
V2.2 LBPair exposes fee settings through getStaticFeeParameters and volatility state through getVariableFeeParameters. Its getBinStep function provides bin spacing. The static settings include the base factor, variable-fee control, and timing parameters. These values describe that pool; estimating a particular trade still requires its amount, direction, liquidity, and updated volatility calculation.
Which liquidity-removal method avoids an extra token transfer charge?
For a V2.2 pool with wrapped native currency and a fee-on-transfer token, LBRouter's removeLiquidity method avoids an extra token transfer and returns the native asset wrapped. The removeLiquidityNATIVE method doesn't support ordinary taxed transfers because its path can trigger the transfer fee twice. Depending on the token's implementation, transfer-tax exemptions for LBRouter and/or LBPair can make that native-currency path usable. The token's own transfer rules still apply; avoiding an extra transfer doesn't abolish its tax.
How do fee claims differ between Liquidity Book V2.0 and V2.1?
V2.0 keeps accrued liquidity-provider fees separate from pool liquidity, while V2.1 adds those fees to position reserves. V2.0 therefore supports separate fee claims; V2.1 providers access accrued fees through liquidity withdrawal. The pool version determines the accounting method, so a separate claim action shouldn't be assumed for every Liquidity Book position.