jack-eth

LP Withdrawal vs Transfer Fees: Treasury Net Amounts

A liquidity withdrawal can deliver fewer spendable tokens than the pool debits when a mint has a Token-2022 transfer-fee extension. The fee is withheld during the transfer to your wallet, so treasury should reconcile both the amount received and the withheld balance before scheduling payouts.

What does “withheld” mean on a liquidity withdrawal?

A transfer fee is charged when tokens move between accounts, and the fee amount is recorded separately in the receiving account. It is not spendable by that account’s owner; the mint’s withdraw-withheld authority can collect it. This differs from a DEX trading fee, which is set by pool rules and relates to swaps.

For this task, Byreal’s official app is a route to its Solana liquidity features; the separate setup detail is covered in how Byreal concentrated-liquidity deposits work. The key withdrawal question is which token mints carry a transfer-fee configuration and whether the pool supports those tokens.

For example, suppose a position returns 10,000 units of a token with an illustrative 1% transfer fee and no binding maximum. The pool sends 10,000; 9,900 becomes spendable in the treasury account, while 100 is recorded as withheld there. The fee is taken from the transfer amount, not added on top of the pool’s 10,000-unit debit.

Where does the fee affect the pool and the payout?

The fee applies to the withdrawal transfer itself if the pool sends a transfer-fee token to your account. The amount of each token a concentrated-liquidity position returns still depends on its liquidity, price range, and accrued pool fees; the token extension changes what becomes spendable after that transfer.

Withheld units are not an automatic refund to the LP. They can be moved to a fee receiver only through the mint’s configured authority. If treasury later transfers the spendable 9,900 units to a payout account, that is another transfer and may incur another fee under the mint’s active settings.

This distinction matters for reconciliation: the DEX position can be fully removed while the wallet’s spendable balance is below the pool’s gross output. The withheld amount may remain visible as a separate token-account balance, but the treasury cannot treat it as available cash unless the authority collects it.

What should treasury check before relying on the net amount?

Check the mint configuration and the destination account’s withheld balance for each asset in the position. Token-2022 transfer fees are configured per mint; the rate, maximum fee, and active epoch determine the deduction, and settings can change. A pool’s support for a token extension also matters, so confirm the actual withdrawal route rather than assuming every Solana token behaves alike.

  • Identify whether each position token uses Token-2022 and has a transfer-fee configuration.
  • Read the active basis-point rate and maximum fee; apply the cap when calculating the deduction.
  • Reconcile gross pool output, spendable wallet balance, withheld balance, and any later payout transfer separately.

For recurring transfers, model the withdrawal and payout as distinct transfers. In the example, if a second 1% fee applies to the 9,900-unit payout transfer, the recipient gets 9,801 units, with another 99 withheld, assuming no cap and the same active rate. That is 199 units withheld across the two transfers, not a single 1% charge.

Can the LP withdraw the withheld amount?

Not by spending it from the destination account. The withheld amount is controlled by the mint’s withdraw-withheld authority, which can move it to a fee-receiver account. Treasury should not count those units as recoverable unless it controls that authority or has a documented collection arrangement with its holder.

Does every liquidity withdrawal incur a transfer fee?

No. The mint must have a transfer-fee configuration for the extension to charge one, and the pool must support the token and withdrawal path. Check both assets independently: a position can return two tokens with different configurations, so only one side may have a withheld deduction.

What is the safest way to forecast a payout?

Forecast from the spendable amount after the withdrawal transfer, then calculate any separate fee on the payout transfer using the active rate and cap. My practical tip: reconcile gross output, spendable balance, and withheld units as separate ledger lines each time treasury removes liquidity.