Documentation Index
Fetch the complete documentation index at: https://docs.codex.io/llms.txt
Use this file to discover all available pages before exploring further.
Usage Guidelines
- Query using
tokenAddress(contract address) andnetworkId(chain ID) lockedLiquidityPercentageis a value between 0 and 1 (e.g., 0.5 = 50% locked)lockBreakdownshows how liquidity is distributed across different lock protocols- Use
totalTokenLiquidityShiftedandlockedTokenLiquidityShiftedfor human-readable token amounts (adjusted for decimals) - Liquidity data is aggregated across up to 100 pairs containing the token
Troubleshooting Tips
When should I use liquidityMetadataByToken vs liquidityMetadata?
When should I use liquidityMetadataByToken vs liquidityMetadata?
liquidityMetadataByToken when you want aggregated liquidity data across all pairs containing a token (up to 100 pairs), including total locked percentage and USD values. Use liquidityMetadata when you have a specific pair and want detailed lock info for that pool only.What lock protocols are supported?
What lock protocols are supported?
Why is lockedLiquidityPercentage 0?
Why is lockedLiquidityPercentage 0?
What's the difference between totalTokenLiquidity and totalTokenLiquidityShifted?
What's the difference between totalTokenLiquidity and totalTokenLiquidityShifted?
totalTokenLiquidity is the raw token amount. totalTokenLiquidityShifted divides by the token’s decimals for a human-readable value. For example, if a token has 18 decimals, 1000000000000000000 raw becomes 1.0 shifted.Why might liquidity data be incomplete?
Why might liquidity data be incomplete?