Match token balances to the pool before you deposit
Rebalance to the pool’s required token mix, then check swap costs, price impact and deposit rules before funding a liquidity position.
By Web3 Hub Newsroom3 min read
Before funding a liquidity pool, rebalance your tokens to match the pool’s deposit requirements and account for the cost of any swaps. The required mix depends on the pool design: some deposits track the pool’s current token proportions, while concentrated-liquidity positions can require different amounts depending on their price range.
How do you work out the token amounts?
Start with the pool’s deposit screen or documentation, which should show the amounts accepted for each token. For a proportional deposit, compare the value of each token you hold with the value the pool requires; swap only enough to bring the two sides into line.
For example, if the pool requires equal value in two tokens, but your wallet holds twice as much value in one, you can swap part of that balance into the other token. The exact amount depends on the live exchange rate and the pool’s rules, so use the displayed deposit amounts rather than assuming a fixed token ratio.
What should you check before swapping?
Estimate the full cost of reaching the required mix before you trade. A swap can incur a trading fee and price impact; the latter can make the execution price worse as the trade size grows relative to available liquidity.
- Confirm the pool’s network and the token addresses.
- Check the expected output, fee and price impact for each swap.
- Leave enough of the network’s native token to pay transaction fees.
- Compare the cost of rebalancing with the value of the position you plan to fund.
For a fuller walkthrough of wallet and token-address checks, see fermi swap. These checks matter because token symbols can look alike while referring to different assets or networks.
When should you rebalance?
Rebalance immediately before funding, using the amounts the pool accepts at that time. Prices and pool balances can move between a swap and a deposit, leaving you with too much of one token or an amount the pool cannot use.
For concentrated-liquidity positions, check the selected price range as well as the token mix. A position opened near one edge of its range may require mostly one token; changing the range changes the amounts needed and the prices at which the position stops earning fees.
Is it better to swap first or deposit as-is?
For most depositors, a small, deliberate rebalance is easier to assess than depositing an unsuitable mix and relying on a pool interface to handle the difference. Some interfaces may perform swaps as part of a deposit, but compare their quoted cost and accepted amounts with a separate swap before confirming.
Once the wallet holds the required amounts, review the final deposit values and transaction fees, then submit the funding transaction. Check the position in your wallet or pool interface after it confirms.