Blockchain/Level X · Full circle/10.2 The recipe/Lesson 3
Step 3: exiting thin markets
The mechanics of liquidity: impact, hops, and the exit fee
MaterialsA block explorer interface capable of viewing pool liquidity and recent transactionsA token contract analyzer tool to inspect transfer tax logic and owner privilegesA spreadsheet or note-taking app for recording test transaction results and slippage data
Wonder
- Why does selling a large quantity of a low-volume token move the price significantly more than selling the same dollar amount of a high-volume asset?
- What happens to a holder who attempts to sell a token that is paired only with another obscure asset, rather than a major stablecoin or coin?
- How can a smart contract silently prevent a user from recovering their funds after they have bought them?
Explore
- Automated Market Makers (AMMs) determine price based on the ratio of assets in a liquidity pool. When a trader sells tokens, the tokens go into the pool and the quote asset comes out, shifting the ratio and lowering the token’s price. This is known as price impact. In pools with deep liquidity, such as ETH/USDC pairs, this shift is negligible for most order sizes. However, in thin pools typical of micro-cap or memecoin launches, a sale of even moderate size consumes a disproportionate amount of the pool’s depth, resulting in a significantly lower execution price than the current market indicator suggests.
- The path from an obscure token to a major asset often requires multiple transactions. If a token is paired with an exotic quote asset rather than a stablecoin or native coin like SOL or ETH, the trader must first swap into that intermediate asset and then swap again to reach a liquid pair. Each hop incurs transaction fees and additional price impact. This ‘hop’ structure increases the total cost of exiting a position. Lesson 7.2.7 covers the mechanics of these multi-step swaps; here, the critical observation is that each step compounds slippage, meaning the final received amount can be substantially lower than the initial valuation.
- Some tokens implement transfer taxes within their smart contracts. These are fees deducted from any transaction involving the token, including sales. While some projects use this for treasury funding or burn mechanisms, others use it to make selling prohibitively expensive. A sell tax near 100%, or code that blocks sells outright, is the classic honeypot signature (lesson 7.2.5); ordinary taxes of a few percent also cut proceeds on the way out. Traders checking pool depth must also inspect the token’s contract for transfer hooks. If the contract allows an owner to change tax rates at will, the exit cost is not fixed; it can be altered after purchase, trapping liquidity in the pool.
- Slippage tolerance settings on trading interfaces allow transactions to proceed if the price moves by a specified percentage before execution. In thin markets, setting this tolerance too low results in failed transactions that still consume gas fees but return no assets. Setting it too high exposes the trader to ‘sandwich attacks’ or simply accepting a worse price than intended due to rapid volatility. Many traders describe checking the pool’s total value locked (TVL) and recent transaction history before executing large sells. This data provides a baseline for expected impact, allowing them to split orders or adjust tolerances accordingly.
- Splitting a large sale into smaller transactions is a common practice to mitigate price impact. By selling in increments, each trade moves the pool ratio less drastically than a single large trade would. However, this strategy increases total gas fees and exposes the trader to volatility risk between trades; if the price drops during the splitting process, subsequent sales execute at lower prices. The trade-off is clear: higher execution certainty versus increased cost and exposure time. Traders must weigh the immediate impact of a full sale against the cumulative drag of fragmented exits.
- Before executing a large exit from a thin market, a standard verification practice involves simulating the transaction or testing with a minimal amount. A test sale reveals whether the token is actually sellable (not a honeypot) and provides an empirical data point on price impact and fees. This step prevents the loss of gas fees on failed transactions and confirms that the contract does not have hidden restrictions, such as blacklists or sudden tax changes. It transforms theoretical assumptions about liquidity into observed reality before committing significant capital.
Key facts
- Price impact in an AMM is determined by the ratio of the order size to the total liquidity depth of the pool.
- Tokens paired with exotic quote assets require two or more swaps to reach major liquid pairs, compounding slippage and fees.
- Smart contract transfer taxes can be applied on sales, reducing the net proceeds received by the seller.
- Honeypot tokens use sell taxes near 100%, sell blocks or blacklists to prevent exits.
- Splitting large orders reduces per-trade price impact but increases total gas costs and exposure to price volatility between trades.
- Simulating a transaction or executing a small test sale is a standard practice to verify token sellability and actual price impact before committing larger amounts.
Exercise nine, six, three, one
9CollectList 9 distinct technical factors that determine the cost and success of selling a token on an AMM, such as pool depth, quote asset liquidity, tax rates, slippage settings, and transaction size.
6ClusterGroup these 9 factors into 6 categories based on their origin: internal contract logic (tax/blacklist), market structure (depth/quote pair), user configuration (slippage/order splitting), network conditions (gas/volatility), protocol fees, or external market forces.
3DistillReduce the 6 groups to 3 core mechanisms that cause value loss during an exit: direct fee deduction, price slippage due to order size/depth, and failed execution costs.
1CrystallizeWrite 1 sentence on the trade-off between minimizing price impact through order splitting and increasing exposure to volatility and gas fees over time.
Fact check
Dates, figures and claims checked against the published sources listed below.
- Uniswap Labs, 'Uniswap v2 Core' whitepaper (Price Impact section)
- Raydium Documentation: Liquidity Pools and Trading Mechanics
- Solana Program Library, Token-2022 documentation: Transfer Fees
- Solidus Labs, 2025 Rug Pull Report (May 2025)