# Token Prices & Swaps Build DeFi interfaces that track token prices, swap rates, and market data across Kadena's ecosystem. > ⚠️ **Indexer Notice**: Kadindexer's DeFi queries are currently configured to index and parse event patterns emitted by SushiSwap modules. Data from other DEX implementations requires custom event pattern configuration. Contact toni@hackachain.io to discuss indexing additional protocols. ## LastTokenPriceInKda: Token Price Discovery Get the most recent trading price for any token denominated in KDA for market data and swap interfaces. ```graphql query Query($moduleName: String!) { lastTokenPriceInKda(moduleName: $moduleName) } ``` **Variables** ```json { "moduleName": "n_b742b4e9c600892af545afb408326e82a6c0c6ed.zUSD" } ``` **Response** ```json { "data": { "lastTokenPriceInKda": "2.735669235344" } } ``` **Use Cases** - DeFi swap interface pricing - Portfolio valuation in KDA terms - Token market data displays - Price comparison tools **Notes** Returns null if no recent price data available or token not actively traded. Use for tokens with established KDA trading pairs on DEXes. ``` ```