Why Is DEX TVL Different on DefiLlama: Compare Like for Like
Why is DEX TVL different on DefiLlama? The totals use different inclusion rules, token prices and refresh times, so compare core liquidity with matching categories.
The CryptoWeek Editors4 min read

A DEX’s TVL can differ from DefiLlama’s because they may count different assets and value them at different prices or times. DefiLlama applies a consistent methodology across protocols, while a DEX dashboard may include farm deposits or its own token and refresh its estimate on a different schedule.
Start by checking what each figure includes
A DEX dashboard may show a broader total than DefiLlama’s core TVL. The comparison can involve:
- Liquidity deposited in swap pools
- The DEX’s own token staked in farms
- LP tokens deposited in farms
DefiLlama separates some categories from core TVL. Its methodology tracks a protocol’s governance tokens staked in its staking system under Staking, and staked LP positions with the protocol’s own token on one side under pool2. Both are optional toggles and off by default. A dashboard that rolls those assets into one headline total will therefore differ from a DefiLlama figure with the toggles off.
This distinction matters when assessing DEX exposure alongside operational controls: a broader TVL total can include incentive deposits as well as swap liquidity. For the related treasury question, SunSwap treasury swap controls address how businesses can manage those swaps. The comparison here is about which assets contribute to the reported total.
Compare matching categories before judging the gap
To make the totals comparable, begin with the DEX’s reported figure and identify whether it includes staking or farmed LP positions. Then open its DefiLlama page and turn on the Staking and pool2 toggles, where available. The resulting combined view may be closer to a dashboard total that includes those categories.
Consider a hypothetical SunSwap dashboard showing $120 million, while its DefiLlama core TVL reads $100 million. Suppose $12 million of the difference is the DEX’s own token staked in farms and $8 million is LP value deposited in farms, with one side of those LPs made up of its own token. With Staking and pool2 enabled, the comparison adds those categories to the core figure. If the two totals then align more closely, the original gap was largely a difference in inclusion rules.
The figures need not match exactly after that adjustment. The DEX and DefiLlama may still use different prices for thinly traded tokens or capture balances at different times. Treat the example as a way to isolate categories, not as a claim about SunSwap’s current TVL.
Prices and refresh times can keep totals apart
Token pricing can move a TVL estimate even when the underlying token balances have not changed. A token with thin trading may have a less reliable market price, or one source may lack a usable price and omit that asset from its dollar total. Differences in price source or valuation method can therefore produce a gap in either direction.
Snapshots add another source of variation. DefiLlama says TVL data updates hourly, and its FAQ notes that webpage values can lag the API because pages are cached. A DEX dashboard may refresh at a different point in its own update cycle. Comparing values taken at different times can make recent deposits, withdrawals or price moves appear to be a methodology difference.
For a fair comparison, record both figures close together in time and note which categories are switched on. If the gap changes after enabling Staking and pool2, category coverage is part of the explanation; if it remains, examine token prices, omitted assets and timing.
The adapter shows what DefiLlama counts
For a protocol-specific answer, inspect its TVL adapter in the public DefiLlama-Adapters repository. The adapter code shows how DefiLlama identifies and reads the contracts included in that protocol’s TVL calculation. Look for the contract addresses and versions the adapter covers, then compare that scope with the assets included in the DEX’s own headline figure.
That check can answer a practical question: does the adapter cover the SunSwap version or versions you are comparing, or does its calculation cover a narrower set of contracts? If the dashboard aggregates several versions while the adapter counts only some of them, the difference may come from scope rather than price or timing. Reading the adapter turns “the totals differ” into a concrete comparison of counted contracts and categories.
For DEX comparisons, use DefiLlama’s core TVL when you want a consistent baseline across protocols. Add Staking and pool2 when the question concerns a broader measure that includes those deposits, then check the adapter and compare snapshots taken at similar times.