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
- Specify a desired
eventType(eg:Swap,Mint,Burn, etc.) to suit your needs on any supported network and timeframe - Narrow results by specific network, token address, and combine with filters such as
priceUsdTotalfor more targeted results. - Note: Token transfer events are not supported
- Multi-hop transactions will show each intermediate transaction separately (see troubleshooting tip below for details)
Troubleshooting Tips
A single transaction is returning multiple buy & sell events for the same transaction (multi-hop). Is this expected and how can we simplify?
A single transaction is returning multiple buy & sell events for the same transaction (multi-hop). Is this expected and how can we simplify?
A token swap event was not returned with our query results, why?
A token swap event was not returned with our query results, why?
How do I determine which tokens were received vs sent for a given transaction?
How do I determine which tokens were received vs sent for a given transaction?
Negative amount = Token received (bought)
Positive amount = Token spent (sold)This rule is consistent for ALL transactions:
Positive = what they gave up (OUT of wallet)
Negative = what they received (INTO wallet)The eventDisplayType “Buy”/“Sell” indicates the primary action from the user’s perspective (buying or selling the non-native token), while the amount signs show the actual token flows.